Debenu Quick PDF logo


Vector graphics, Image handling, Annotations and hotspot links, Page layout


Adds an SVG file as an annotation to the current page. This is only supported if the PDF is viewed using Adobe Acrobat 6 or Adobe Reader 6. Earlier and later versions will not show the SVG annotation.



function TDebenuPDFLibrary1811.AddSVGAnnotationFromFile(Left, Top, Width, 
  Height: Double; FileName: WideString; Options: Integer): Integer;


Function DebenuPDFLibrary1811.PDFLibrary::AddSVGAnnotationFromFile(Left As Double,
  Top As Double, Width As Double, Height As Double, FileName As String,
  Options As Long) As Long


int DPLAddSVGAnnotationFromFile(int InstanceID, double Left, double Top,
  double Width, double Height, wchar_t * FileName, int Options)


Left The horizontal co-ordinate of the left edge of the annotation rectangle
Top The vertical co-ordinate of the top edge of the annotation rectangle
Width The width of the annotation rectangle
Height The height of the annotation rectangle
FileName The path and name of the file containing the SVG image.
Options This parameter is ignored and should be set to 0

Return values

0 The SVG file could not be opened
1 The SVG annotation was added successfully

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport