AddSVGAnnotationFromFile

向量圖形、影像處理、註解與熱點連結、頁面版面

描述

在目前頁面加入 SVG 檔案作為註解。只有用 Adobe Acrobat 6 或 Adobe Reader 6 檢視時才支援,更早或更新的版本都不會顯示這個 SVG 註解

語法

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);

參數

Left註解矩形左緣的水平座標
Top註解矩形上緣的垂直座標
Width註解矩形的寬度
Height註解矩形的高度 含 SVG 影像的檔案路徑與名稱。
FileName
Options此參數被忽略,應設為 0

傳回值

0無法開啟 SVG 檔案
1SVG 註解加入成功