Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.CreateRectangle


CorelScript.CreateRectangle

Function CreateRectangle(Top As Long, Left As Long, Bottom As Long, Right As Long, CornerRadius As Long, CornerRadius2 As Long, CornerRadius3 As Long, CornerRadius4 As Long) As Long

Description

Member of CorelScript

The CreateRectangle method draws a rectangle or square.

Parameter
Description
Top
Specifies the y-coordinate of the upper-left corner of the bounding box of the rectangle, in tenths of a micron and relative to the center of the page
Left
Specifies the x-coordinate of the upper-left corner of the bounding box of the rectangle, in tenths of a micron and relative to the center of the page
Bottom
Specifies the y-coordinate of the lower-right corner of the bounding box of the rectangle, in tenths of a micron and relative to the center of the page
Right
Specifies the x-coordinate of the lower-right corner of the bounding box of the rectangle, in tenths of a micron and relative to the center of the page
CornerRadius
Specifies the radius used to create the rounded corners, in tenths of a micron
CornerRadius2
Specifies the radius used to create the rounded corners, in tenths of a micron
CornerRadius3
Specifies the radius used to create the rounded corners, in tenths of a micron
CornerRadius4
Specifies the radius used to create the rounded corners, in tenths of a micron

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.