TPen.Style

Applies to TestComplete 15.42, last modified on September 08, 2022

Specifies the style of the shape border to be drawn.

Declaration

TPenObj.Style
Read-Write Property String
TPenObj     A TPen object  

Description

Use the Style property to get or set the pattern of the pen used to draw the shape border.

Property Value

The property can take on the following values:

Value Description
psSolid Draws a solid shape border.
psDash Draws a dashed shape border.
psDot Draws a dotted shape border.
psDashDot Draws a border of alternating dashes and dots.
psDashDotDot Draws a border of alternating dashes and double dots.
psClear The shape border is invisible.
psInsideFrame Draws a solid line from within the given bounding rectangle of the shape. If Width is 1, this option is equal to psSolid.

See Also

TPen.Color
TPen.Mode
TPen.Width

Highlight search results