[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'FPimage' (#fcl)

TFPCustomImage.SetSize

Set the size of the image in pixels.

Declaration

Source position: fpimage.pp line 137

public procedure TFPCustomImage.SetSize(

  AWidth: Integer;

  AHeight: Integer

); virtual;

Description

Override to perform further actions, like allocating memory. This method also is called when the Width or Height is changed.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.