DrawRotatedRectangle Method

See Also     Examples     Applies To

Draws a rotated rectangle into the native image.

Syntax

object.DrawRotatedRectangle (nAngle, nDstX, nDstY, nWidth, nHeight, nPenWidth, nColor, bAntiAlias)

The DrawRotatedRectangle syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nAngle Required. Single. Angle of rotation in degres.
nDstX Required. Long. Specifies the x-coordinate of the upper-left corner of the rectangle.
nDstY Required. Long. Specifies the y-coordinate of the upper-left corner of the rectangle.
nWidth Required. Long. Specifies the width of the rectangle.
nHeight Required. Long. Specifies the height of the rectangle.
nPenWidth Required. Long. Width in pixel of the pen used to draw the rectangle.
nColor Optional. Long. Default value is Black. ARGB long color value used to draw the rectangle.
bAntiAlias Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False.

Returns

ImagingStatus

Remarks

The ImagingStatus constants are defined HERE

Category

Draw (Lines and Shapes)





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.