Copyright © 2003-2010 MultiMedia Soft

PictureKeepRatio property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property PictureKeepRatio As Boolean

 

[C#]

public bool PictureKeepRatio {get; set;}

 

[C++]

public: __property bool get_PictureKeepRatio();

public: __property void set_PictureKeepRatio(bool);

 

 

Remarks

Boolean value that determines if the aspect ratio must be kept for a picture whose size is bigger than the button size.

Applies to the Picture, PicturePressed, PictureMouseOver and PictureDisabled properties .

Supported values are the following:

Value

Meaning

False

Don't keep the aspect ratio.

True (default)

Keep the aspect ratio.

 

In order to perform changes to Pictures and Animations settings at Design-time take a look to the How to display bitmaps and animations section.