Class TextContent
Inheritance
System.Object
TextContent
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
IronSoftware.IDocumentTextObject
IronSoftware.IBoundedDocumentObject
IronSoftware.IBounded
IronSoftware.ITransformable
IronSoftware.IColored
System.ICloneable
IronSoftware.IJsonSerializable
Assembly: IronWord.dll
Syntax
public class TextContent : TextContentElement, IDocumentElement, ITextContentElement, IWordTextObject, IWordDocumentObject, IDocumentObject, IDocumentTextObject, IBoundedDocumentObject, IBounded, ITransformable, IColored, ICloneable, IJsonSerializable
Constructors
TextContent()
Declaration
TextContent(String)
Declaration
public TextContent(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Properties
BoundingBox
Declaration
public RectangleF BoundingBox { get; set; }
Property Value
Type |
Description |
System.Drawing.RectangleF |
|
Color
Declaration
public Color Color { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Contents
Declaration
public string Contents { get; set; }
Property Value
Type |
Description |
System.String |
|
DocumentId
Declaration
public IDocumentId DocumentId { get; set; }
Property Value
Type |
Description |
IronSoftware.IDocumentId |
|
FillColor
Declaration
public Color FillColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Font
Declaration
public IDocumentFontObject Font { get; set; }
Property Value
Type |
Description |
IronSoftware.IDocumentFontObject |
|
FontSize
Declaration
public float FontSize { get; set; }
Property Value
Type |
Description |
System.Single |
|
IsBold
Declaration
public bool IsBold { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsItalic
Declaration
public bool IsItalic { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Matrix
Declaration
public MatrixStruct Matrix { get; }
Property Value
Type |
Description |
IronSoftware.MatrixStruct |
|
ObjNum
Declaration
public uint ObjNum { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
PageIndex
Declaration
public uint PageIndex { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
RenderMode
Declaration
public TextRenderModes RenderMode { get; set; }
Property Value
Type |
Description |
IronSoftware.TextRenderModes |
|
Scale
Declaration
public PointF Scale { get; set; }
Property Value
Type |
Description |
System.Drawing.PointF |
|
StrokeColor
Declaration
public Color StrokeColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Translate
Declaration
public PointF Translate { get; set; }
Property Value
Type |
Description |
System.Drawing.PointF |
|
Methods
Append(TextContent)
Declaration
public TextContent Append(TextContent textContent)
Parameters
Returns
Split(String)
Declaration
public List<TextContent> Split(string delimiter)
Parameters
Type |
Name |
Description |
System.String |
delimiter |
|
Returns
Type |
Description |
System.Collections.Generic.List<TextContent> |
|
ToJson()
Declaration
Returns
Type |
Description |
System.String |
|
Implements
IronSoftware.Abstractions.IDocumentElement
IronSoftware.IDocumentObject
IronSoftware.IDocumentTextObject
IronSoftware.IBoundedDocumentObject
IronSoftware.IBounded
IronSoftware.ITransformable
IronSoftware.IColored
System.ICloneable
IronSoftware.IJsonSerializable