SetOptionalContentGroupPrintableByName
Content Streams and Optional Content Groups
Description
Sets the initial print state for an optional-content group found by name
Syntax
Delphi
Function TPDFlib.SetOptionalContentGroupPrintableByName(Const GroupName: WideString; Printable: Integer): Integer;
Parameters
| GroupName | Optional-content group display name to update |
|---|---|
| Printable | 1 to mark the group printable, 0 to mark it not printable |
Return values
| 0 | The group was not found or the print state could not be changed |
|---|---|
| 1 | The group print state was changed |
Remarks
This wrapper is useful when layer names are stable but callers do not retain the group handle
See also
FindOptionalContentGroupByName, SetOptionalContentGroupPrintable, SetOptionalContentGroupVisibleByName