SetOptionalContentGroupPrintableByName
Content Streams and Optional Content Groups
Description
Reference page for SetOptionalContentGroupPrintableByName. The function belongs to Content Streams and Optional Content Groups and keeps all identifiers exactly as shown
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