C1.WPF.Excel Namespace > XLStyle Class : Rotation Property |
'Declaration
Public Property Rotation As System.Integer
public System.int Rotation {get; set;}
This property should be set to values between 0 and 180, or 255, as explained below:
Zero means no rotation.
1-90 means 1 to 90 degrees counter-clockwise (90 causes text to be displayed in the vertical direction going up the cell).
91-180 means 1 to 90 degrees clockwise (180 causes text to be displayed in the vertical direction going down the cell).
255 causes letters to be stacked top to bottom and not rotated.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2