Table of Contents

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

node OdfNode

The underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。

doc PresentationDocument

The owning presentation document instance. / 所屬的簡報文件執行個體。

Properties

Document

Gets the owning presentation document. 取得所屬的簡報文件。

public PresentationDocument Document { get; }

Property Value

PresentationDocument

MasterPageName

Gets or sets the master page name used by the handout page. 取得或設定講義頁面所使用的母片名稱。

public string? MasterPageName { get; set; }

Property Value

string

Name

Gets or sets the handout page name. 取得或設定講義頁面的名稱。

public string? Name { get; set; }

Property Value

string

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

IReadOnlyList<OdfShape>

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

x OdfLength

The X-axis coordinate. / X 軸座標位置。

y OdfLength

The Y-axis coordinate. / Y 軸座標位置。

w OdfLength

The width. / 寬度。

h OdfLength

The 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

x OdfLength

The X-axis coordinate. / X 軸座標位置。

y OdfLength

The Y-axis coordinate. / Y 軸座標位置。

w OdfLength

The width. / 寬度。

h OdfLength

The height. / 高度。

text string

The text content. / 文字內容。

Returns

OdfTextBox

The added text box shape instance. / 新增的文字方塊圖形執行個體。