Show / Hide Table of Contents

Class ExcelTextBody

Properties for the textbody

Inheritance
object
XmlHelper
ExcelTextBody
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
bool

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
double?

BottomInsert

The bottom inset of the bounding rectangle

Declaration
public double? BottomInsert { get; set; }
Property Value
Type Description
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
bool

ForceAntiAlias

Forces the text to be rendered anti-aliased

Declaration
public bool ForceAntiAlias { get; set; }
Property Value
Type Description
bool

FromWordArt

If the text within this textbox is converted from a WordArt object.

Declaration
public bool FromWordArt { get; set; }
Property Value
Type Description
bool

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
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
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
bool

RightInsert

The right inset of the bounding rectangle

Declaration
public double? RightInsert { get; set; }
Property Value
Type Description
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
double?

SpaceBetweenColumns

The space between text columns in the text area

Declaration
public double SpaceBetweenColumns { get; set; }
Property Value
Type Description
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
bool

TopInsert

The top inset of the bounding rectangle

Declaration
public double? TopInsert { get; set; }
Property Value
Type Description
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
In this article
Back to top Generated by DocFX