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 leaves the selected content layer, the authoring buffers and the original stream bytes untouched; text from adjacent layers 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.