Copyright © 2003-2010 MultiMedia Soft

PictureKeepRatio property

Previous pageReturn to chapter overviewNext page


[Visual Basic]

Public Property PictureKeepRatio As Boolean



public bool PictureKeepRatio {get; set;}



public: __property bool get_PictureKeepRatio();

public: __property void set_PictureKeepRatio(bool);




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:




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.