Skip to main content

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

TdxGPImage.Flip(Boolean,Boolean) Method

Flips the stored image horizontally and/or vertically.

#Declaration

Delphi
procedure Flip(AHorizontally: Boolean; AVertically: Boolean);

#Parameters

Name Type
AHorizontally Boolean
AVertically Boolean

#Remarks

Call this procedure and pass True as the AHorizontally and/or AVertically parameters to flip the stored image along the horizontal and/or vertical axes, respectively. A Flip procedure call does not change the stored image’s format if it is BMP or SVG; otherwise, converts the image to BMP. In the latter case, you can use the ImageCodec property to restore the original image format.

Note

A Flip procedure call has no effect if the image container is empty or the procedure accepts False as both the AHorizontally and AVertically parameters.

See Also