GCompositeCurve.CreateRectangle (Plane, Double, Double, Boolean) Method

Creates a rectangular composite igCurve by plane.
Public Shared Function CreateRectangle( _ 
ByVal sketchPlane As Plane, _ 
ByVal width As Double, _ 
ByVal height As Double, _ 
Optional ByVal centered As Boolean = false _ 
) As GCompositeCurve
This language is not supported or no code example is available.
public static GCompositeCurve CreateRectangle( 
Plane sketchPlane
double width
double height
bool centered = false 
)
This language is not supported or no code example is available.

Parameters

sketchPlane
Plane

Sketch plane

width
double

Width

height
double

Height

centered
bool

When true, the rectangle is built centered on the origin.

Return Value

GCompositeCurve

.NET Framework

Supported in: 4.7.2

In this article

Definition