Sign in Join
FPDoc Onlineexperiment

TRasterImage.SetSize procedure

Member of TRasterImageprotectedIn unit Graphics

SetSize - specifies height and width of Image.

Declaration

pascal
procedure SetSize(AWidth: Integer; AHeight: Integer); virtual
 ; abstract

Description

SetSize is used to set the Height and Width for the image to the specified values.

SetSize is an abstract virtual method in TRasterImage, and must be implemented in a descendent class to perform actions needed to resize the raw image data for a specific image format.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.