SetContentStreamFromString
Page properties, Content Streams and Optional Content Groups, Page manipulation
Description
Sets the PDF page description commands in the content stream part that was selected with the
SelectContentStream function.
Syntax
Delphi
Function TPDFlib.SetContentStreamFromString(Const Source: AnsiString): Integer;
DLL
int DLSetContentStreamFromString(int InstanceID, const char* Source);
Parameters
| Source | The new PDF page description commands for the content stream part |
|---|
Return values
Returns 1 when the selected content stream was replaced. Returns 0 when the change is refused because another operation such as an open path is active on the current page.