Class OdfHandoutPage
- Namespace
- OdfKit.Presentation
- Assembly
- OdfKit.dll
Represents a presentation handout page. 表示投影片講義頁面(Handout Page)的類別。
public class OdfHandoutPage
- Inheritance
-
OdfHandoutPage
- Inherited Members
Constructors
OdfHandoutPage(OdfNode, PresentationDocument)
Represents a presentation handout page. 表示投影片講義頁面(Handout Page)的類別。
public OdfHandoutPage(OdfNode node, PresentationDocument doc)
Parameters
nodeOdfNodeThe underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。
docPresentationDocumentThe owning presentation document instance. / 所屬的簡報文件執行個體。
Properties
Document
Gets the owning presentation document. 取得所屬的簡報文件。
public PresentationDocument Document { get; }
Property Value
MasterPageName
Gets or sets the master page name used by the handout page. 取得或設定講義頁面所使用的母片名稱。
public string? MasterPageName { get; set; }
Property Value
Name
Gets or sets the handout page name. 取得或設定講義頁面的名稱。
public string? Name { get; set; }
Property Value
Node
Gets the underlying ODF node. 取得底層的 ODF 節點。
public OdfNode Node { get; }
Property Value
- OdfNode
Shapes
Gets a read-only list of all shapes on the handout page, excluding thumbnail placeholders. 取得講義頁面上所有圖形(不含縮圖預留位置)的唯讀清單。
public IReadOnlyList<OdfShape> Shapes { get; }
Property Value
Methods
AddSlideThumbnailPlaceholder(OdfLength, OdfLength, OdfLength, OdfLength)
Adds a slide thumbnail placeholder to the handout page. 在講義頁面上新增投影片縮圖預留位置。
public void AddSlideThumbnailPlaceholder(OdfLength x, OdfLength y, OdfLength w, OdfLength h)
Parameters
xOdfLengthThe X-axis coordinate. / X 軸座標位置。
yOdfLengthThe Y-axis coordinate. / Y 軸座標位置。
wOdfLengthThe width. / 寬度。
hOdfLengthThe height. / 高度。
AddTextBox(OdfLength, OdfLength, OdfLength, OdfLength, string)
Adds a text box to the handout page. 在講義頁面上新增文字方塊。
public OdfTextBox AddTextBox(OdfLength x, OdfLength y, OdfLength w, OdfLength h, string text)
Parameters
xOdfLengthThe X-axis coordinate. / X 軸座標位置。
yOdfLengthThe Y-axis coordinate. / Y 軸座標位置。
wOdfLengthThe width. / 寬度。
hOdfLengthThe height. / 高度。
textstringThe text content. / 文字內容。
Returns
- OdfTextBox
The added text box shape instance. / 新增的文字方塊圖形執行個體。