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

GroupNameOptional-content group display name to update
Printable1 to mark the group printable, 0 to mark it not printable

Return values

0The group was not found or the print state could not be changed
1The 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