DrawCircle
IPDFDocument4 :: Page Operations :: Graphics

See Also
Collapse All

This method creates a circular path.

Syntax

HRESULT DrawCircle (
FLOAT centerX,
FLOAT centerY,
FLOAT radius
)
Parameters
centerX
X coordinate of the center of the circle

centerY
Y coordinate of the center of the circle

radius
Radius of the circle

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This method creates a circular path centered at (centerX, centerY) with radius radius in the counter-clock-wise direction. The starting point is (centerX + radius, centerY). The current point will also be at the same location after the call. If you need a circle drawn in the clockwise direction, use the DrawArcTo method.

See theĀ AlternateClip method for examples.

See Also

Reference