Class ExcelTextBody
Properties for the textbody
Inherited Members
Namespace: OfficeOpenXml.Drawing
Assembly: EPPlus.dll
Syntax
public class ExcelTextBody : XmlHelper
Properties
Anchor
The anchoring position within the shape
Declaration
public eTextAnchoringType Anchor { get; set; }
Property Value
| Type | Description |
|---|---|
| eTextAnchoringType |
AnchorCenter
The centering of the text box.
Declaration
public bool AnchorCenter { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
AutofitNormalFontScale
The percentage of the original font size to which each run in the text body is scaled. This propery only applies when the TextAutofit property is set to NormalAutofit
Declaration
public double? AutofitNormalFontScale { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
BottomInsert
The bottom inset of the bounding rectangle
Declaration
public double? BottomInsert { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
CompatibleLineSpacing
If the line spacing is decided in a simplistic manner using the font scene
Declaration
public bool CompatibleLineSpacing { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ForceAntiAlias
Forces the text to be rendered anti-aliased
Declaration
public bool ForceAntiAlias { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FromWordArt
If the text within this textbox is converted from a WordArt object.
Declaration
public bool FromWordArt { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
HorizontalTextOverflow
If the text can flow out horizontaly
Declaration
public eTextHorizontalOverflow HorizontalTextOverflow { get; set; }
Property Value
| Type | Description |
|---|---|
| eTextHorizontalOverflow |
LeftInsert
The left inset of the bounding rectangle
Declaration
public double? LeftInsert { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
LineSpaceReduction
The percentage by which the line spacing of each paragraph is reduced. This propery only applies when the TextAutofit property is set to NormalAutofit
Declaration
public double? LineSpaceReduction { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
ParagraphSpacing
If the before and after paragraph spacing defined by the user is to be respected
Declaration
public bool ParagraphSpacing { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
RightInsert
The right inset of the bounding rectangle
Declaration
public double? RightInsert { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
Rotation
The rotation that is being applied to the text within the bounding box
Declaration
public double? Rotation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
SpaceBetweenColumns
The space between text columns in the text area
Declaration
public double SpaceBetweenColumns { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
TextAutofit
The text within the text body should be normally auto-fited
Declaration
public eTextAutofit TextAutofit { get; set; }
Property Value
| Type | Description |
|---|---|
| eTextAutofit |
TextUpright
Declaration
public bool TextUpright { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
TopInsert
The top inset of the bounding rectangle
Declaration
public double? TopInsert { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> |
UnderLine
Underlined text
Declaration
public eUnderLineType UnderLine { get; set; }
Property Value
| Type | Description |
|---|---|
| eUnderLineType |
VerticalText
If the text should be displayed vertically
Declaration
public eTextVerticalType VerticalText { get; set; }
Property Value
| Type | Description |
|---|---|
| eTextVerticalType |
VerticalTextOverflow
If the text can flow out of the bounding box vertically
Declaration
public eTextVerticalOverflow VerticalTextOverflow { get; set; }
Property Value
| Type | Description |
|---|---|
| eTextVerticalOverflow |
WrapText
How text is wrapped
Declaration
public eTextWrappingType WrapText { get; set; }
Property Value
| Type | Description |
|---|---|
| eTextWrappingType |