DAGetPageContentToString

Direct access functionality, Page properties

Description

Retrieves the graphics commands and operators that make up the specified page.

Syntax

Delphi

Function TPDFlib.DAGetPageContentToString(FileHandle, PageRef: Integer): AnsiString;

DLL

const char* DLDAGetPageContentToString(int InstanceID, int FileHandle, int PageRef);

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
PageRefA page reference returned by the DAFindPage or DANewPage functions

Return values

Returns the graphics commands that make up the page. Returns an empty string when the file handle or page reference is invalid.