[]
        
(Showing Draft Content)

C1.Xaml.Pdf.C1PdfDocument.DrawEllipse

DrawEllipse Method

DrawEllipse(Pen, double, double, double, double)

Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.

Declaration
public void DrawEllipse(Pen pen, double x, double y, double width, double height)
Public Sub DrawEllipse(pen As Pen, x As Double, y As Double, width As Double, height As Double)
Parameters
Type Name Description
Pen pen

Pen object that determines the color, width, and style of the ellipse.

double x

x-coordinate of the upper-left corner of the bounding rectangle.

double y

x-coordinate of the upper-left corner of the bounding rectangle.

double width

Width of the bounding rectangle.

double height

Height of the bounding rectangle.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.

DrawEllipse(Pen, Rect)

Draws an ellipse defined by a bounding rectangle specified by a rectangle structure.

Declaration
public void DrawEllipse(Pen pen, Rect rc)
Public Sub DrawEllipse(pen As Pen, rc As Rect)
Parameters
Type Name Description
Pen pen

Pen object that determines the color, width, and style of the rectangle.

Rect rc

A rectangle structure that specifies the bounding rectangle.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.

DrawEllipse(Pen, Rect)

Draws an ellipse defined by a bounding rectangle specified by a rectangle structure.

Declaration
public void DrawEllipse(Pen pen, Rect rc)
Public Sub DrawEllipse(pen As Pen, rc As Rect)
Parameters
Type Name Description
Pen pen

GrapeCity.Documents.Drawing.Pen object that determines the color, width, and style of the rectangle.

Rect rc

A rectangle structure that specifies the bounding rectangle.

Remarks

All coordinates are expressed in points, measured from the upper-left corner of the page.