SetMarkedContentPropertySource

Content stream editing

Description

Sets a property on the BDC property list of a marked-content instruction, taking the value as raw content-stream source

Syntax

Delphi

Function TPDFContentProgram.SetMarkedContentPropertySource(InstructionIndex: Integer; Const PropertyName, PropertyValueSource: AnsiString): Boolean;

Parameters

InstructionIndexIndex of the marked-content instruction
PropertyNameName of the property to set in the BDC property list
PropertyValueSourceRaw content-stream source to write as the property value

Return values

True when the property was set, otherwise false

Remarks

The value is written as given, so the caller controls the exact source of the property dictionary entry; use SetMarkedContentTextProperty to have a Unicode text value encoded instead

See also

TPDFContentProgram, SetMarkedContentTextProperty, SetMarkedContentPropertyResource, DeleteMarkedContentProperty, ClearMarkedContentProperties