Copyright © 2003-2024 MultiMedia Soft

CornerFactor property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property CornerFactor As Short

 

[C#]

public short CornerFactor {get; set;}

 

[C++]

public: __property short get_CornerFactor ();

public: __property void set_CornerFactor (short);

 

 

Remarks

The corner factor applied to Rounded Rectangle and Gem shapes

This property does not apply if the Shape property is set to a value different from Shapes.RoundRect, Shapes.Gem, Shapes.Arrow or Shapes.Keyhole.

If the Shape property is set to Shapes.Arrow or Shapes.Keyhole, the CornerFactor property will apply only if the LightDirection property is set to LightDirections.North, LightDirections.East, LightDirections.South or LightDirections.West.

The property value ranges from 0 to 100 with 60 set as default.

In order to change this setting at Design-time take a look to the How to change the control appearance section.

Here are three cornered shapes with a corner factor of 60:

3dcm_i00001f3dcm_i00011e

Here are the same shapes with a corner factor of 40.

3dcm_i0000203dcm_i00011f

And here are the same shapes with a corner factor of 90.

3dcm_i0000213dcm_i000120