# VSvgWidget

**Hereda de:** [Widget](https://doc.velneo.com/velneo-vdevelop/scripts/lenguajes/javascript/clases/widget).

Esta clase representa al control visor de imagen SVG.

## Indice de funciones

### **Generales**

void [load](#load)( String pathFile )

Boolean [loadResource](#loadresource)( String idRefSvg )

## Documentación de funciones

### Funciones generales

#### void load( String pathFile ) <a href="#load" id="load"></a>

Carga un SVG de un fichero en disco para visualizarlo en el control.

Parámetros:

* pathFile: senda del fichero SVG en disco a mostrar en el control.

#### Boolean loadResource( String idRefSvg ) <a href="#loadresource" id="loadresource"></a>

Carga un objeto SVG para visualizarlo en el control.

Parámetros:

* idRefSvg: identificador de referencia, alias\_proyecto/identificador\_svg, del objeto SVG a mostrar en el control.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.velneo.com/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsvgwidget.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
