GetPageContentToString

Page properties, Page manipulation

Description

This function returns the PDF page description commands which make up the content of the selected page. This is for advanced use only, and will probably be meaningless unless you have an understanding of the Adobe PDF specification

This function returns the content of the entire page and the GetContentStreamToString function can be used to retrieve the PDF page description commands of the content stream part selected with the SelectContentStream function

Reading the page content preserves the selected content layer, authoring buffers and original stream bytes; adjacent layer text is separated by a space in the returned string

Syntax

Delphi

Function TPDFlib.GetPageContentToString: AnsiString;

DLL

const char* DLGetPageContentToString(int InstanceID);

Return values

Returns the raw page description commands of the selected page with all content layers joined into one string. Returns an empty string when no document is open.