AddLGIDictToPageA

Page properties, Measurement and coordinate units

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to AddLGIDictToPage and string arguments are interpreted using the current SetAnsiMode code page

Adds a new LGIDict object to the selected page

This is used with the GeoPDF system as defined in Open Geospatial Consortium Inc.'s OGC 08-139r2 specification

More than one dictionary can be added to the page

Syntax

Delphi

Function DLAddLGIDictToPageA(InstanceID: Integer; DictContent: PAnsiChar): Integer;

DLL

int DLAddLGIDictToPageA(int InstanceID, const char * DictContent);

Parameters

DictContentThe LGIDict dictionary content to add to the page

Return values

0The LGI dictionary could not be added to the page. Check that the dictionary content string is a valid PDF dictionary
1The LGI dictionary was added successfully