SetPageContentFromString
Page properties, Page layout, Page manipulation
Description
This function allows the content of the selected PDF page to be set.
This is for advanced use only. If incorrect information is put into the page's content stream then the PDF file may not load correctly with Adobe Reader or any other PDF viewer.
This function sets the content of the entire page resulting in a single content stream part. The SetContentStreamFromString function can be used to set the PDF page description commands of the content stream part selected with the SelectContentStream function.
Syntax
Delphi
function TPDFlib.SetPageContentFromString(Const Source: AnsiString): Integer;ActiveX
Function PDFlib::SetPageContentFromString(Source As String) As LongDLL
int DLSetPageContentFromString(int InstanceID, char * Source);Parameters
| Source | The new contents of the page |
|---|