Property VLCommonDisplay.TVLCommonDisplay.Proportional

From Mitov Wiki Doc
Revision as of 00:18, 22 November 2011 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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;

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox