SetMarkedContentTextProperty

Content stream editing

Description

Sets a Unicode text property on the BDC property list of a marked-content instruction, encoding the value for the property dictionary

Syntax

Delphi

Function TPDFContentProgram.SetMarkedContentTextProperty(InstructionIndex: Integer; Const PropertyName: AnsiString; Const PropertyValue: WideString): Boolean;

Parameters

InstructionIndexIndex of the marked-content instruction
PropertyNameName of the property to set in the BDC property list
PropertyValueUnicode text value for the property, encoded for the property dictionary

Return values

True when the property was set, otherwise false

Remarks

Use SetMarkedContentPropertySource when the value is already valid content-stream source, or SetMarkedContentPropertyResource to reference a named /Properties resource; use DeleteMarkedContentProperty or ClearMarkedContentProperties to remove properties

See also

TPDFContentProgram, SetMarkedContentPropertySource, SetMarkedContentPropertyResource, DeleteMarkedContentProperty, ClearMarkedContentProperties