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

TdxCustomFastDIB.Resize(TRect) Method

Changes the bitmap buffer’s size.

#Declaration

Delphi
procedure Resize(const R: TRect); overload;

#Parameters

Name Type
R TRect

#Remarks

Call either of the overloaded procedure variants to change the Width and Height property values. This operation always discards the current buffer content and recreates the DIB image buffer if the resulting area size is positive (that is, the Empty function returns True).

The first overloaded Resize procedure variant accepts new pixel dimensions as the AWidth and AHeight parameters. The second variant accepts a rectangle as the R parameter and uses its Width and Height property values as dimensions.

See Also