AddLGIDictToPage

页面属性、测量和坐标单位

描述

向所选页面添加新的 LGIDict 对象

这与 Open Geospatial Consortium Inc.'s OGC 08-139r2 规范定义的 GeoPDF 系统一起使用

可向页面添加多个字典

语法

Delphi

Function TPDFlib.AddLGIDictToPage(Const DictContent: WideString): Integer;

ActiveX

Function PDFlib::AddLGIDictToPage(DictContent As String) As Long

DLL

int DLAddLGIDictToPage(int InstanceID, const wchar_t * DictContent);

参数

DictContent要添加到页面的 LGIDict 字典内容

返回值

0无法将 LGI 字典添加到页面,请检查字典内容字符串是否为有效的 PDF 字典
1已成功添加 LGI 字典