AddSVGAnnotationFromFile
Gráficos vectoriales, tratamiento de imágenes, anotaciones y enlaces de zona activa, diseño de página
Descripción
Añade un SVG como anotación a la página actual. Solo se admite en Adobe Acrobat 6 o Adobe Reader 6; otras versiones no la muestran
Sintaxis
Delphi
Function TPDFlib.AddSVGAnnotationFromFile(Left, Top, Width, Height: Double; Const FileName: WideString; Options: Integer): Integer;
ActiveX
Function PDFlib::AddSVGAnnotationFromFile(Left As Double, Top As Double, Width As Double, Height As Double, FileName As String, Options As Long) As Long
DLL
int DLAddSVGAnnotationFromFile(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * FileName, int Options);
Parámetros
| Left | La coordenada horizontal del borde izquierdo del rectángulo de anotación |
|---|---|
| Top | La coordenada vertical del borde superior del rectángulo de anotación |
| Width | El ancho del rectángulo de anotación |
| Height | La altura del rectángulo de anotación La ruta y el nombre del archivo que contiene la imagen SVG |
| FileName | |
| Options | Este parámetro se omite y debe establecerse en 0 |
Valores devueltos
| 0 | No se pudo abrir el archivo SVG |
|---|---|
| 1 | La anotación SVG se añadió correctamente |