RegisterExtGState

Content stream editing

Description

Registers one graphics-state parameter dictionary under the resource name used by a gs operator

Syntax

Delphi

Function RegisterExtGState(Const ResourceName: AnsiString; Dictionary: TPDFDictionary): Boolean;

Return value

True when the name and dictionary are valid, otherwise false

Remarks

A leading slash in ResourceName is accepted and removed

Registering the same case-sensitive resource name again atomically replaces its compiled parameter set

The dictionary remains owned by its PDF structure and may be released after registration