Class DocumentSection
Inheritance
System.Object
DocumentSection
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
System.ICloneable
Assembly: IronWord.dll
Syntax
public class DocumentSection : ParentElement, IDocumentElement, IDocumentObject, ICloneable, IElementContainer<ContentElementCollection, ContentElement>, IElementContainer, ITextContainer, IDrawContainer
Constructors
DocumentSection(ContentElement[])
Declaration
public DocumentSection(params ContentElement[] children)
Parameters
Properties
Height
Declaration
public double Height { get; }
Property Value
Type |
Description |
System.Double |
|
Index
Declaration
public int Index { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
MultiLevelTextLists
Declaration
public List<MultiLevelTextList> MultiLevelTextLists { get; }
Property Value
PageIndex
Declaration
public int PageIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
PageSetup
Declaration
public PageSetup PageSetup { get; set; }
Property Value
Paragraphs
Declaration
public List<Paragraph> Paragraphs { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Paragraph> |
|
Width
Declaration
public double Width { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
AddChild(ContentElement[])
Declaration
public override void AddChild(params ContentElement[] children)
Parameters
Overrides
AddImage(AnyBitmap)
Declaration
public ImageContent AddImage(AnyBitmap anyBitmap)
Parameters
Type |
Name |
Description |
IronSoftware.Drawing.AnyBitmap |
anyBitmap |
|
Returns
AddImage(ImageContent)
Declaration
public ImageContent AddImage(ImageContent imageContent)
Parameters
Returns
AddImage(Stream)
Declaration
public ImageContent AddImage(Stream imageStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
imageStream |
|
Returns
AddImage(String)
Declaration
public ImageContent AddImage(string imagePath)
Parameters
Type |
Name |
Description |
System.String |
imagePath |
|
Returns
AddMultiLevelTextList(MultiLevelTextList)
Declaration
public MultiLevelTextList AddMultiLevelTextList(MultiLevelTextList multiLevelTextList)
Parameters
Returns
AddParagraph(Paragraph)
Declaration
public Paragraph AddParagraph(Paragraph paragraph)
Parameters
Returns
AddShape(ShapeContent)
Declaration
public ShapeContent AddShape(ShapeContent shapeContent)
Parameters
Returns
AddTable(Table)
Declaration
public Table AddTable(Table table)
Parameters
Type |
Name |
Description |
Table |
table |
|
Returns
AddText(TextContent)
Declaration
public TextContent AddText(TextContent textContent)
Parameters
Returns
AddText(String)
Declaration
public TextContent AddText(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Declaration
public string ExtractText()
Returns
Type |
Description |
System.String |
|
ReplaceText(String, String)
Declaration
public void ReplaceText(string find, string replace)
Parameters
Type |
Name |
Description |
System.String |
find |
|
System.String |
replace |
|
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
System.ICloneable
IronSoftware.Abstractions.IElementContainer<, >