SetMarkedContentPropertyResource

Content stream editing

Description

Points the property of a marked-content instruction at a named resource from the page /Properties resource dictionary

Syntax

Delphi

Function TPDFContentProgram.SetMarkedContentPropertyResource(InstructionIndex: Integer; Const ResourceName: AnsiString): Boolean;

Parameters

InstructionIndexIndex of the marked-content instruction
ResourceNameName of the entry to reference in the page /Properties resource dictionary

Return values

True when the resource reference was set, otherwise false

Remarks

Where SetMarkedContentTextProperty and SetMarkedContentPropertySource carry the property value with the instruction, this form references the named /Properties resource instead

See also

TPDFContentProgram, SetMarkedContentTextProperty, SetMarkedContentPropertySource, DeleteMarkedContentProperty, ClearMarkedContentProperties