語言

ExtractionDocumentTextElement.Role 屬性

定義

獲得此文字元素的可選語意角色。

public:
 property System::String ^ Role { System::String ^ get(); };
public string? Role { get; }
member this.Role : string
Public ReadOnly Property Role As String

屬性值

備註

常見的角色包括 heading 文件標題、 pageHeader 重複頁首以及 pageFooter 重複頁尾。 自訂角色會被保留,且不會進行正規化。 消費者應將未指定或未識別的角色視為普通文字。

適用於