Draw Shape Button Tool Arguments

The following properties are available for Draw Shape Button Tool Arguments objects, grouped by the categories shown in the Toolbars Designer.

Misc

Property Type Default Description

FillColor

Color

Transparent

The color of the shapes’s fill.

FillTransparency

double

0.0

The transparency of the shape’s fill. Values of 0 to 100 are valid. A value of 0 is opaque. A value of 100 is transparent.

FontBold

bool

false

Whether the shape’s text is bolded.

FontColor

Color

Black

The color of the shape’s font.

FontItalic
displayed as Fontltalic

bool

false

Whether the shape’s text is italicized.

FontName

string

Name

The name of the shape’s font.

FontSize

double

8.0

The size of the shape’s font.

FontUnderline

bool

false

Whether the shape’s text is underlined.

LineColor

Color

Black

The color of the shape’s line.

LineTransparency

double

0.0

The transparency of the shape’s line. Values of 0 to 100 are valid. A value of 0 is opaque. A value of 100 is transparent.

LineWeight

double

0.5

The weight of the shape’s line as a decimal value of 0.5 or greater.

ShapeType

AutoShapeType

AutoShapeType.Rectangle

Oval, Rectangle, etc

WithText

bool

false

Whether to add a TextBox to the shape.