Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.RotateBitmap(TBitmap,TcxRotationAngle,Boolean) Method

Rotates or flips a specified bitmap.

#Declaration

Delphi
procedure RotateBitmap(ABitmap: TBitmap; ARotationAngle: TcxRotationAngle; AFlipVertically: Boolean = False);

#Parameters

Name Type
ABitmap TBitmap
ARotationAngle TcxRotationAngle
AFlipVertically Boolean

#Remarks

Call this procedure and pass a bitmap container as the ABitmap parameter to rotate or flip an image within it. Pass one of the predefined angles as the ARotationAngle parameter to rotate the image. Additionally, you can pass True as the optional AFlipVertically parameter to invert the order of horizontal pixel lines in the target image.

Note

A RotateBitmap procedure call has no effect if the ARotationAngle and AFlipVertically parameters are set to ra0 and False, respectively.

See Also