Click or drag to resize

TextBoxFormat Class

Represents TextBox formatting.
Inheritance Hierarchy
System Object
Spire.Doc OwnerHolder
Spire.Doc.Documents.XML DocumentSerializable
Spire.Doc.Formatting TextBoxFormat

Namespace: Spire.Doc.Formatting
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class TextBoxFormat : DocumentSerializable

The TextBoxFormat type exposes the following members.

Constructors
Name Description
Public method TextBoxFormat
Initializes a new instance of the TextBoxFormat class.
Top
Properties
Name Description
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property FillColor
Gets or sets the fill color of the textbox.
Public property FillEfects
Gets the fill effects.
Public property Height
Gets or sets textbox height
Public property HorizontalAlignment
Get/set textbox horizontal alignment
Public property HorizontalOrigin
Gets or sets horizontal origin
Public property HorizontalPosition
Get or set textbox horizontal position
Public property InternalMargin
Gets the internal margin.
Public property IsFitShapeToText
Gets or Sets a value. Specifies whether the spape stretches to fit the text in the textbox. Default is false.
Public property LayoutFlowAlt
Gets or sets the text direction of the textbox.
Public property LineColor
Gets or sets line color.
Public property LineDashing
Get/set line dashing for textbox
Public property LineStyle
Get or set text box linestyle
Public property LineWidth
Get/set textbox line width
Public property NoLine
Gets or sets value which defines if there is a line around textbox shape
Public property TextAnchor
Gets or sets the vertical anchoring of text. Default is top.
Public property TextWrappingStyle
Get/set text Wrapping style
Public property TextWrappingType
Get/set wrapping type for textbox
Public property VerticalAlignment
Get/set textbox vertical alignment
Public property VerticalOrigin
Gets or sets vertical origin
Public property VerticalPosition
Get/set textbox vertical position
Public property Width
Gets or sets textbox width
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method Clone
Clone textbox format.
Protected method CloneImpl (Inherited from DocumentSerializable .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Inherited from DocumentSerializable .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Overrides DocumentSerializable ReadXmlAttributes(IXDLSAttributeReader) .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Protected method RestoreReference (Inherited from DocumentSerializable .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Protected method WriteXmlAttributes (Overrides DocumentSerializable WriteXmlAttributes(IXDLSAttributeWriter) .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also