AddU3DAnnotationFromFileA
Vector graphics, Image handling, Annotations and hotspot links, Page layout
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to AddU3DAnnotationFromFile and string arguments are interpreted using the current SetAnsiMode code page
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 DLAddU3DAnnotationFromFileA(InstanceID: Integer; Left, Top, Width, Height: Double; FileName: PAnsiChar; Options: Integer): Integer;
DLL
int DLAddU3DAnnotationFromFileA(int InstanceID, double Left, double Top, double Width, double Height, const char * 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 |