ImageMan.Net Version 3 Summer 2012 Release
AspectRatio Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > SelectRectangle Class : AspectRatio Property





Glossary Item Box

If set specifies the aspect ratio of the selection rectangle when drawn using the mouse.

Syntax

Visual Basic (Declaration) 
Public Property AspectRatio As System.Single
Visual Basic (Usage)Copy Code
Dim instance As SelectRectangle
Dim value As System.Single
 
instance.AspectRatio = value
 
value = instance.AspectRatio
C# 
public System.float AspectRatio {get; set;}
JScript 
public function get,set AspectRatio : System.float
Managed Extensions for C++ 
public: __property System.float get_AspectRatio();
public: __property void set_AspectRatio( 
   System.float value
);
C++/CLI 
public:
property System.float AspectRatio {
   System.float get();
   void set (    System.float value);
}

Property Value

The aspect ratio.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.