BeginOptionalContent
Content Streams and Optional Content Groups
Description
Begins an optional-content drawing scope on the selected page using an optional-content group or membership dictionary
Reference page for BeginOptionalContent. The function belongs to Content Streams and Optional Content Groups and keeps all identifiers exactly as shown
Syntax
Delphi
Function TPDFlib.BeginOptionalContent(OptionalContentGroupID: Integer): Integer;
ActiveX
Function PDFlib::BeginOptionalContent(OptionalContentGroupID As Long) As Long
DLL
int DLBeginOptionalContent(int InstanceID, int OptionalContentGroupID);
Parameters
| OptionalContentGroupID | An optional-content group handle or a membership handle returned by NewOptionalContentMembership |
|---|
Return values
| 0 | The OptionalContentGroupID parameter was not valid or no document was available |
|---|---|
| 1 | The optional-content drawing scope was opened successfully |
Remarks
A membership handle applies its /VE expression when supported and retains /OCGs plus /P as a compatibility fallback