Vcl.Graphics.TIcon.SetWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetWidth(Value: Integer); override;

C++

virtual void __fastcall SetWidth(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TIcon

Description

Set horizontal size of graphic in pixels.

Vcl.Graphics.TIcon.SetWidth inherits from Vcl.Graphics.TGraphic.SetWidth. All content below this line refers to Vcl.Graphics.TGraphic.SetWidth.

Set horizontal size of graphic in pixels.

SetWidth sets the horizontal size of the graphic in pixels.

Each descendant of the TGraphic class defines its own GetWidth and SetWidth methods to access the Width property.

See Also