.netCHARTING v10.7 Documentation


dotnetCHARTING Namespace > SmartLabel Class : ForceVertical Property
ForceVertical Property
Gets or sets a value that indicates whether the label is forced to be drawn vertically.
Syntax
'Declaration
 
Public Property ForceVertical As Boolean
'Usage
 
Dim instance As SmartLabel
Dim value As Boolean
 
instance.ForceVertical = value
 
value = instance.ForceVertical
public bool ForceVertical {get; set;}
Remarks
When false, labels will be drawn vertically only on columns and cylinders that are not wide enough to fit the label horizontally. Otherwise, all labels will be vertical.
Example
Requirements

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

See Also