TSCARBitmap.Width

From SCAR Divi Manual
Jump to: navigation, search

Definition

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

Availability

SCAR Divi 3.35 > Current

Description

This property returns the width of the bitmap. When assigned, you can change the width 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.Width);
  finally
    Bmp.Free;
  end;
end.

See Also