SpreadsheetGear 2012
IStyle Interface Members
Properties  Methods 

The following tables list the members exposed by IStyle.

Public Properties
 NameDescription
 PropertyAddIndentGets or sets the property which controls indentation of text when horizontal or vertical alignment is set to distributed.  
 PropertyBordersReturns an instance of IBorders which represents the cell borders of cells associated with this named cell style.  
 PropertyBuiltInReturns true if this named cell style is a built-in style, false otherwise.  
 PropertyFontReturns an instance of IFont which may be used to get and set font properties of this named cell style.  
 PropertyFormulaHiddenGets or sets the property which specifies whether formulas in cells associated with this named cell style should be hidden.  
 PropertyHorizontalAlignmentGets or sets the horizontal alignment of cells associated with this named cell style.  
 PropertyIncludeAlignmentGets or sets the property which specifies whether this named cell style includes the AddIndent, HorizontalAlignment, IndentLevel, Orientation, VerticalAlignment andWrapText properties.  
 PropertyIncludeBorderGets or sets the property which specifies whether this named cell style includes the properties associated with the Borders property.  
 PropertyIncludeFontGets or sets the property which specifies whether this named cell style includes the properties associated with the Font property.  
 PropertyIncludeNumberGets or sets the property which specifies whether this named cell style includes the NumberFormat property.  
 PropertyIncludePatternsGets or sets the property which specifies whether this named cell style includes the properties associated with the Interior property.  
 PropertyIncludeProtectionGets or sets the property which specifies whether this named cell style includes the FormulaHidden and Lockedproperties.  
 PropertyIndentLevelGets or sets the indent level of cells associated with this named cell style. A setting of one indents a cell by three spaces.  
 PropertyInteriorReturns the IInterior which represents the interior (background) color and pattern of cells associated with this named cell style.  
 PropertyLockedGets or sets the property which specifies whether cells associated with this named cell style will be locked.  
 PropertyNameReturns the name of this named cell style.  
 PropertyNumberFormatGets or sets the number format of this named cell style.  
 PropertyOrientationGets or sets the text orientation of this named cell style, which may be from -90 to 90 degrees or SpreadsheetGear.Orientation.Vertical.  
 PropertyShrinkToFitGets or sets the property which specifies whether cells associated with this named cell style will be drawn in a smaller font if needed to display the contents of the cell.  
 PropertyVerticalAlignmentGets or sets the vertical alignment of cells associated with this named cell style.  
 PropertyWrapTextGet or sets the flag which indicates whether word wrap is enabled in cells associated with this named cell style.  
Top
Public Methods
 NameDescription
 MethodDeleteDeletes this named cell style.  
Top
See Also

Reference

IStyle Interface
SpreadsheetGear Namespace
Styles Property
Style Property
IStyles Interface

Send Feedback