SetMarkedContentPropertySource
內容串流編輯
描述
在標記內容指令的 BDC 屬性清單上設定屬性,值以原始內容串流原始碼提供
語法
Delphi
Function TPDFContentProgram.SetMarkedContentPropertySource(InstructionIndex: Integer; Const PropertyName, PropertyValueSource: AnsiString): Boolean;參數
| InstructionIndex | 標記內容指令的索引 |
|---|---|
| PropertyName | 要在 BDC 屬性清單中設定的屬性名稱 |
| PropertyValueSource | 要寫成屬性值的原始內容串流原始碼 |
傳回值
屬性設定成功時傳回 True,否則傳回 False
備註
值會照原樣寫入,屬性字典項目的確切原始碼由呼叫端掌握;若要讓 Unicode 文字值自行編碼,請改用 SetMarkedContentTextProperty
另請參閱
TPDFContentProgram, SetMarkedContentTextProperty, SetMarkedContentPropertyResource, DeleteMarkedContentProperty, ClearMarkedContentProperties