AddU3DAnnotationFromFile
Vector graphics, Image handling, Annotations and hotspot links, Page layout
Descrição
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.
Sintaxe
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 Long
DLL
int DLAddU3DAnnotationFromFile(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * FileName, int Options);
Parâmetros
| Left, Top | Posição do canto superior esquerdo do retângulo da anotação |
|---|---|
| Width, Height | Dimensões positivas do retângulo da anotação |
| FileName | Caminho para um modelo U3D não vazio |
| Options | 0 oculta inicialmente o conteúdo 3D e 1 apresenta-o inicialmente |
Observações
A anotação inclui uma vista predefinida nomeada, ativação ao abrir a página, desativação explícita, indicadores de impressão e uma aparência normal
A saída PDF/A só é aceite para PDF/A-4e; os restantes perfis PDF/A rejeitam anotações 3D