> For the complete documentation index, see [llms.txt](https://doc.velneo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.velneo.com/32/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsvgwidget.md).

# VSvgWidget

**Hereda de:** [Widget](/32/velneo-vdevelop/scripts/lenguajes/javascript/clases/widget.md).

Esta clase representa al control visor de imagen SVG.

## Indice de funciones

### **Generales**

void [load](/32/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsvgwidget.md#load)( String pathFile )

Boolean [loadResource](/32/velneo-vdevelop/scripts/lenguajes/javascript/clases/vsvgwidget.md#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.
