.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Box Class : CornerSize Property
CornerSize Property (Box)

Gets or sets a value that indicates the corner size in pixels. This size is used with BoxCorner settings. This setting is limited to 0-8 pixels.

This property can also affect box header alignment behavior. Values larger than 8 will be used by headers.

Syntax
'Declaration
 
Public Property CornerSize As Integer
'Usage
 
Dim instance As Box
Dim value As Integer
 
instance.CornerSize = value
 
value = instance.CornerSize
public int CornerSize {get; set;}
Remarks
For a legendbox, this setting is limited to 0-8 pixels, unless the legendbox padding is high enough to accomodate the corner size. For TitleBox and Annotation, a corner size higher than 8 may cause the box padding to increase so that the text on it is not cut off by the corners.
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