Class OdfPresentationPageLayout
- Namespace
- OdfKit.Presentation
- Assembly
- OdfKit.dll
Represents a presentation page layout. 表示簡報頁面版面配置的類別。
public class OdfPresentationPageLayout
- Inheritance
-
OdfPresentationPageLayout
- Inherited Members
Constructors
OdfPresentationPageLayout(OdfNode)
Represents a presentation page layout. 表示簡報頁面版面配置的類別。
public OdfPresentationPageLayout(OdfNode node)
Parameters
nodeOdfNodeThe underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。
Properties
Name
Gets or sets the presentation page layout name. 取得或設定簡報頁面版面配置的名稱。
public string Name { get; set; }
Property Value
Placeholders
Gets the read-only list of placeholder templates. 取得預留位置範本的唯讀清單。
public IReadOnlyList<OdfPlaceholderTemplate> Placeholders { get; }
Property Value
Methods
AddPlaceholder(OdfPlaceholderType, OdfLength, OdfLength, OdfLength, OdfLength)
Adds a placeholder template. 新增預留位置範本。
public OdfPlaceholderTemplate AddPlaceholder(OdfPlaceholderType type, OdfLength x, OdfLength y, OdfLength w, OdfLength h)
Parameters
typeOdfPlaceholderTypeThe placeholder type. / 預留位置型態。
xOdfLengthThe X-axis coordinate position. / X 軸座標位置。
yOdfLengthThe Y-axis coordinate position. / Y 軸座標位置。
wOdfLengthThe width. / 寬度。
hOdfLengthThe height. / 高度。
Returns
- OdfPlaceholderTemplate
The added placeholder template instance. / 新增的預留位置範本執行個體。
RemovePlaceholder(OdfPlaceholderType)
Removes placeholder templates of the specified type. 移除指定型態的預留位置範本。
public bool RemovePlaceholder(OdfPlaceholderType type)
Parameters
typeOdfPlaceholderTypeThe placeholder type to remove. / 要移除的預留位置型態。