StyleArrayWrapper Properties |
The StyleArrayWrapper type exposes the following members.
Name | Description | |
---|---|---|
![]() |
Borders |
Returns aBorders collection that represents the borders of a
style or a range of cells (including a range defined as part of
a conditional format).
|
![]() |
BuiltIn |
True if the style is a built-in style. Read-only Boolean.
|
![]() |
Color |
Returns or sets the cell shading color.
|
![]() |
ExtendedFormatIndex |
Gets format index in m_book.InnerFormats.
|
![]() |
FillBackground |
Gets / sets index of XlsFill background color.
|
![]() |
FillBackgroundRGB |
Gets / sets XlsFill background color.
|
![]() |
FillForeground |
Gets / sets index of XlsFill foreground color.
|
![]() |
FillForegroundRGB |
Gets / sets XlsFill foreground color.
|
![]() |
FillPattern |
Gets / sets XlsFill pattern.
|
![]() |
Font |
Returns a Font object that represents the font of the specified
object. Read-only.
|
![]() |
FormulaHidden |
True if the formula will be hidden when the worksheet is protected.
Read/write Boolean.
|
![]() |
HorizontalAlignment |
Returns or sets the horizontal alignment for the specified object.
For all objects, this can be one of the following HorizontalAlignType constants.
Read/write HorizontalAlignType.
|
![]() |
IncludeAlignment |
True if the style includes the AddIndent, HorizontalAlignment,
VerticalAlignment, WrapText, and Orientation properties.
Read/write Boolean.
|
![]() |
IncludeBorder |
True if the style includes the Color, ColorIndex, LineStyle,
and Weight border properties. Read/write Boolean.
|
![]() |
IncludeFont |
True if the style includes the Background, Bold, Color,
ColorIndex, FontStyle, Italic, Name, OutlineFont, Shadow,
Size, Strikethrough, Subscript, Superscript, and Underline
font properties. Read/write Boolean.
|
![]() |
IncludeNumberFormat |
True if the style includes the NumberFormat property.
Read/write Boolean.
|
![]() |
IncludePatterns |
True if the style includes the Color, ColorIndex,
InvertIfNegative, Pattern, PatternColor, and PatternColorIndex
interior properties. Read / write Boolean.
|
![]() |
IncludeProtection |
True if the style includes the FormulaHidden and Locked protection
properties. Read / write Boolean.
|
![]() |
IndentLevel |
Returns or sets the indent level for the style. Read/write.
|
![]() |
Interior |
Returns Interior object that represents the interior of the specified
object. Read-only.
|
![]() |
IsFirstSymbolApostrophe |
If true then first symbol in cell is apostrophe.
|
![]() |
IsInitialized |
Indicates whether style is initialized (differs from Normal style).
Read-only.
|
![]() |
IsModified |
Gets value indicating whether format was modified, compared to parent format.
|
![]() |
JustifyLast |
For far east languages. Supported only for format. Always 0 for US.
|
![]() |
KnownColor |
Returns or sets the color of the interior. The color is specified as
an index value into the current color palette.
|
![]() |
Locked |
True if the object is locked, False if the object can be
modified when the sheet is protected. Read/write Boolean.
|
![]() |
Name |
Returns or sets the name of the object. Read-only String.
|
![]() |
NumberFormat |
Returns or sets the format code for the object. Read / write String.
|
![]() |
NumberFormatIndex |
Gets / sets index of the number format.
|
![]() |
NumberFormatLocal |
Returns or sets the format code for the object as a string in the
language of the user. Read / write String.
|
![]() |
NumberFormatSettings |
Returns object that describes number format. Read-only.
|
![]() |
Parent |
Reference to Parent object. Read-only.
(Inherited from
XlsObject
.)
|
![]() |
PatternColor |
Returns or sets the color of the interior pattern as an System.Drawing.Color value.
|
![]() |
PatternKnownColor |
Returns or sets the color of the interior pattern as an index into the current color palette.
|
![]() |
ReadingOrder |
Text direction, the reading order for far east versions.
|
![]() |
ReferenceCount |
Get quantity of instance references.
(Inherited from
XlsObject
.)
|
![]() |
Rotation |
Text rotation angle:
0 Not rotated
1-90 1 to 90 degrees counterclockwise
91-180 1 to 90 degrees clockwise
255 Letters are stacked top-to-bottom, but not rotated.
int.MinValue - different rotation angle for different ranges.
|
![]() |
ShrinkToFit |
True if text automatically shrinks to fit in the available
column width. Read/write Boolean.
|
![]() |
VerticalAlignment |
Returns or sets the vertical alignment of the specified object.
Read/write VerticalAlignType.
|
![]() |
WrapText |
True if Microsoft Excel wraps the text in the object.
Read/write Boolean.
|