NewOptionalContentGroupEx
Content Streams and Optional Content Groups
Description
Reference page for NewOptionalContentGroupEx. The function belongs to Content Streams and Optional Content Groups and keeps all identifiers exactly as shown
Syntax
Delphi
Function TPDFlib.NewOptionalContentGroupEx(Const GroupName: WideString; Visible, Printable: Integer): Integer;
Parameters
| GroupName | Layer name shown by PDF viewers |
|---|---|
| Visible | Initial view state, where 1 is visible and 0 is hidden |
| Printable | Initial print state, where 1 is printable and 0 is not printable |
Return values
Returns the optional-content group handle, or 0 if the group cannot be created
Remarks
This wrapper combines group creation with the common visibility and print-state setup
See also
NewOptionalContentGroup, SetOptionalContentGroupVisible, SetOptionalContentGroupPrintable