Property VLCommonDisplay.TVLCommonDisplay.Proportional
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TVLCommonDisplay
Contents |
Syntax
Delphi:
property Proportional : Boolean read FProportional write SetProportional default True;
C++ Builder:
__property bool Proportional = { read=FProportional, write=SetProportional, default=True };
Summary
Keep the image proportional(Preserve aspect ratio).
Description
If set to True the image proportions (Aspect Ratio) will be
preserved in case of stretching.
Delphi example:
VLImageDisplay1.Proportional := True;
C++ Builder example:
VLImageDisplay1->Proportional = true;
Visual C++(MFC) example:
VLImageDisplay1.Proportional = true;
C# Example:
imageDisplay1.Proportional = true;