Class OdfDocumentMetadata
Exposes high-level accessors for document metadata. 提供文件中繼資料的高階操作入口。
public sealed class OdfDocumentMetadata
- Inheritance
-
OdfDocumentMetadata
- Inherited Members
Constructors
OdfDocumentMetadata(OdfDocument)
Initializes a new instance of the OdfDocumentMetadata class. 初始化 OdfDocumentMetadata 類別的新執行個體。
public OdfDocumentMetadata(OdfDocument document)
Parameters
documentOdfDocumentThe owning document. / 所屬文件。
Properties
Creator
Gets or sets the author. 取得或設定作者。
public string? Creator { get; set; }
Property Value
Description
Gets or sets the description. 取得或設定描述。
public string? Description { get; set; }
Property Value
Language
Provides the member member. 取得或設定文件語言(BCP-47 語言標籤,例如 "zh-TW"、"en-US")。
public string? Language { get; set; }
Property Value
Subject
Gets or sets the subject. 取得或設定主旨。
public string? Subject { get; set; }
Property Value
TemplateMetadata
Gets or sets the document's source template metadata. 取得或設定文件來源範本中繼資料。
public OdfTemplateMetadata? TemplateMetadata { get; set; }
Property Value
Title
Gets or sets the title. 取得或設定標題。
public string? Title { get; set; }