Class Paragraph
Inheritance
System.Object
Paragraph
Assembly: IronWord.dll
Syntax
public class Paragraph : ParentElement, jusphv, ITextContainer, IDrawContainer
Constructors
Paragraph()
Declaration
Paragraph(ContentElement[])
Declaration
public Paragraph(params ContentElement[] children)
Parameters
Properties
Alignment
Declaration
public TextAlignment Alignment { get; set; }
Property Value
Images
Declaration
public List<Image> Images { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Image> |
|
Index
Declaration
public int Index { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Shapes
Declaration
public List<Shape> Shapes { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Shape> |
|
Style
Declaration
public ParagraphStyle Style { get; set; }
Property Value
Texts
Declaration
public List<Text> Texts { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Text> |
|
Methods
AddChild(ContentElement[])
Declaration
public override void AddChild(params ContentElement[] children)
Parameters
Overrides
AddImage(AnyBitmap)
Declaration
public Image AddImage(AnyBitmap anyBitmap)
Parameters
Type |
Name |
Description |
IronSoftware.Drawing.AnyBitmap |
anyBitmap |
|
Returns
AddImage(Image)
Declaration
public Image AddImage(Image image)
Parameters
Type |
Name |
Description |
Image |
image |
|
Returns
AddImage(Stream)
Declaration
public Image AddImage(Stream imageStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
imageStream |
|
Returns
AddImage(String)
Declaration
public Image AddImage(string imagePath)
Parameters
Type |
Name |
Description |
System.String |
imagePath |
|
Returns
AddShape(Shape)
Declaration
public Shape AddShape(Shape shape)
Parameters
Type |
Name |
Description |
Shape |
shape |
|
Returns
AddText(Text)
Declaration
public Text AddText(Text text)
Parameters
Type |
Name |
Description |
Text |
text |
|
Returns
AddText(String)
Declaration
public Text AddText(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Clone()
Declaration
public override ContentElement Clone()
Returns
Overrides
SetAlignment(TextAlignment)
Declaration
public Paragraph SetAlignment(TextAlignment alignment)
Parameters
Returns
SetStyle(ParagraphStyle)
Declaration
public Paragraph SetStyle(ParagraphStyle style)
Parameters
Returns
Implements