Usage: Methods

## Methods

procedure UpdateImageInfo;
Must be called after you change properties of an Image object, e.g. you load new image or change image dimensions. So, the typical image load procedure can look like this:

    procedure TFormMain.LoadImage(const AFileName: WideString);
    begin
      try
        ATImageBox1.Image.Picture.LoadFromFile(AFileName);
        ATImageBox1.UpdateImageInfo;
      except
        Application.MessageBox('Could not load image', 'Error',
          MB_OK or MB_ICONERROR);
      end;
    end;