Class OdfTextBox
- Namespace
- OdfKit.Presentation
- Assembly
- OdfKit.dll
Represents a text box shape in a slide. 表示投影片中的文字方塊圖形。
public class OdfTextBox : OdfShape
- Inheritance
-
OdfTextBox
- Inherited Members
Constructors
OdfTextBox(OdfNode, OdfDocument)
Initializes a new instance of the OdfTextBox class. 初始化 OdfTextBox 類別的新執行個體。
public OdfTextBox(OdfNode node, OdfDocument doc)
Parameters
nodeOdfNodeThe underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。
docOdfDocumentThe owning ODF document instance. / 所屬的 ODF 文件執行個體。
OdfTextBox(OdfNode, OdfDocument, OdfSlide?)
Represents a text box shape in a slide. 表示投影片中的文字方塊圖形。
public OdfTextBox(OdfNode node, OdfDocument doc, OdfSlide? slide)
Parameters
nodeOdfNodeThe underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。
docOdfDocumentThe owning document instance. / 所屬的文件執行個體。
slideOdfSlideThe owning slide instance, or
nullwhen the shape does not belong to a presentation slide. / 所屬的投影片執行個體,若不屬於簡報投影片則為null。
OdfTextBox(OdfNode, OdfSlide)
Initializes a new instance of the OdfTextBox class. 初始化 OdfTextBox 類別的新執行個體。
public OdfTextBox(OdfNode node, OdfSlide slide)
Parameters
nodeOdfNodeThe underlying OdfKit.DOM.OdfNode instance. / 底層的 OdfKit.DOM.OdfNode 執行個體。
slideOdfSlideThe owning slide instance. / 所屬的投影片執行個體。
Properties
Paragraphs
Gets the paragraph text list in the text box. 取得文字方塊中的段落文字清單。
public IReadOnlyList<string> Paragraphs { get; }
Property Value
Text
Gets the plain text content in the text box. 取得文字方塊中的純文字內容。
public string Text { get; }