AddU3DAnnotationFromFile
Vector graphics, Image handling, Annotations and hotspot links, Page layout
Description
Adds an SVG file as an annotation to the current page. The SVG annotation will only be visible if the PDF is viewed with Adobe Acrobat 7 or higher.
Syntax
Delphi
function TPDFlib.AddU3DAnnotationFromFile(Left, Top, Width, Height: Double; Const FileName: WideString; Options: Integer): Integer;ActiveX
Function PDFlib::AddU3DAnnotationFromFile(Left As Double, Top As Double, Width As Double, Height As Double, FileName As String, Options As Long) As LongDLL
int DLAddU3DAnnotationFromFile(int InstanceID, double Left, double Top, double Width, double Height, wchar_t * FileName, int Options);Parameters
| Left | The horizontal co-ordinate of the left edge of the annotation rectangle The vertical co-ordinate of the top edge of the annotation rectangle |
|---|---|
| Top | |
| Width | The width of the annotation rectangle |
| Height | The height of the annotation rectangle |
| FileName | The path and name of the file containing the U3D model. |
| Options | 0 = the 3D annotation is static 1 = the 3D annotation is interactive |