SetContentStreamOptional
Content Streams and Optional Content Groups
Description
A page in a PDF document has one or more content stream parts that together contain all the PDF page description commands for the page.
This function links the content stream selected by SelectContentStream to an optional-content group or membership dictionary
Syntax
Delphi
Function TPDFlib.SetContentStreamOptional(OptionalContentGroupID: Integer): Integer;
ActiveX
Function PDFlib::SetContentStreamOptional(OptionalContentGroupID As Long) As Long
DLL
int DLSetContentStreamOptional(int InstanceID, int OptionalContentGroupID);
Parameters
| OptionalContentGroupID | An optional-content group handle or a membership handle returned by NewOptionalContentMembership |
|---|
Return values
| 0 | The optional-content handle was not valid |
|---|---|
| 1 | The content stream part was linked to the optional-content object successfully |