Click or drag to resize

CellFormat Class

Inheritance Hierarchy
System Object
Spire.Doc OwnerHolder
Spire.Doc.Formatting WordAttributeBase
Spire.Doc.Formatting CellFormat

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

The CellFormat type exposes the following members.

Constructors
Name Description
Public method CellFormat
Initializes a new instance of the CellFormat class.
Top
Properties
Name Description
Public property BackColor Obsolete.
Public property Borders
Gets the cell borders.
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property FitText
Gets or sets fit text option.
Public property HorizontalMerge
Returns or setsthe way of horizontal merging of the cell.
Public property Paddings
Gets the cell paddings.
Public property SamePaddingsAsTable
Defines whether to use same paddings as table has.
Public property Shading
Gets the Shading attribute associated with cell.
Public property TextDirection
Gets or sets cell text direction.
Public property TextWrap
Gets or sets a value indicating whether [text wrap].
Public property VerticalAlignment
Gets or sets vertical alignment.
Public property VerticalMerge
Returns or setsthe way of vertical merging of the cell.
Top
Methods
Name Description
Public method ClearBackground
Clears paragraph background.
Public method ClearFormatting
Clears the formatting.
Public method Equals (Overrides Object Equals(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 MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also