[]
        
(Showing Draft Content)

C1.Util.IFlowDocument.DrawEllipse

DrawEllipse Method

DrawEllipse(Pen, float, float, float, float)

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

Declaration
void DrawEllipse(Pen pen, float x, float y, float width, float height)
Parameters
Type Name Description
Pen pen

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

float x

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

float y

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

float width

Width of the bounding rectangle.

float height

Height of the bounding rectangle.

Remarks

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

DrawEllipse(Pen, RectangleF)

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

Declaration
void DrawEllipse(Pen pen, RectangleF rc)
Parameters
Type Name Description
Pen pen

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

RectangleF 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.