drawRoundRect

Syntax: drawRoundRect document, rect, cornerRadius, filled

Draws a rounded-corner rectangle on the current page, using the corner radius specified in cornerRadius. If the filled parameter is TRUE, the rounded rectangle is filled using the current color. Otherwise, the rounded rectangle is stroked using the current line weight and color.

Example:

drawRoundRect doc, Rect(0,0,500,100), 25, FALSE