Difference between revisions of "TSCARBitmap.Height"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== Member of TSCARBitmap, read/write.<source lang="scar" lines="false"> property TSCARBitmap.Height: Integer; </source> ==Availability== SCAR Divi 3.35 > Curr...")
 
(No difference)

Latest revision as of 11:47, 26 October 2012

Definition

Member of TSCARBitmap, read/write.
property TSCARBitmap.Height: Integer;

Availability

SCAR Divi 3.35 > Current

Description

This property returns the height of the bitmap. When assigned, you can change the height of the bitmap canvas. Assigning to it will also clear the bitmap canvas.

Example

var
  Bmp: TSCARBitmap;
   
begin
  Bmp := TSCARBitmap.Create('deNoTYBBg+M/wnwCKjwchgsrgip/e+X/5D' +
    'DFausEApHjfjv/LF+HXAlIJBiAGUPGEHjzq4YofPXp04sQJEBe34pPNCv+/3Aa' +
    'qgSiGWoFX8f83h/8/XAaxhUjF/693/D+XR5JikAjdFUPVE60Y6CNTU1MiFcPVA' +
    'wFQJUHFQARUCU0nRKZAEhEAWNcFGw==');   
  try                 
    WriteLn(Bmp.Height);
  finally
    Bmp.Free;
  end;
end.

See Also