Copyright © 1998-2010 MultiMedia Soft

CornerFactor property

Previous pageReturn to chapter overviewNext page

Type

short for Visual C++

integer for Visual Basic

 

 

Syntax

object.CornerFactor   [=integer]

 

 

Remarks

Sets the corner factor applied to certain shapes.

This property does not apply if the Shape property is set to a value different from SHAPE_ROUNDRECT, SHAPE_GEM, SHAPE_ARROW and SHAPE_KEYHOLE.

If the Shape property is set to SHAPE_ARROW or SHAPE_KEYHOLE, the CornerFactor property will apply only if the LightDirection property is set to LIGHT_DIR_NORTH, LIGHT_DIR_EAST, LIGHT_DIR_SOUTH or LIGHT_DIR_WEST.

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

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

3dabm_i00001f3dabm_i000115

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

3dabm_i0000203dabm_i000113

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

3dabm_i0000213dabm_i000114