XlFormattingObject Members

Contains cell formatting settings applied when exporting a control's data to XLS(X) format.

Constructors

Name Description
XlFormattingObject() Initializes a new instance of the XlFormattingObject class.

Properties

Name Description
Alignment Gets or sets text alignment, wrapping, rotation, best-fit and indentation options.
BackColor Gets or sets the cell's background color.
Border
Font Gets or sets font attributes for the currently processed cell.
FormatString Gets the pattern for formatting values.
FormatType Gets or sets the type of formatting applied to the current value.
NumberFormat Gets or sets the native Excel format string used to format the currently processed value.

Methods

Name Description
CopyFrom(XlCellFormatting, FormatType) Copies the font, format string and background color settings from the specified XlCellFormatting object to the current object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also