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





Glossary Item Box

Gets or sets the scale mode.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Specifies how the image is scaled to fit the control")>
<System.ComponentModel.CategoryAttribute("Appearance")>
Public Property AutoScaleMode As ScaleMode
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim value As ScaleMode
 
instance.AutoScaleMode = value
 
value = instance.AutoScaleMode
C# 
[System.ComponentModel.DescriptionAttribute("Specifies how the image is scaled to fit the control")]
[System.ComponentModel.CategoryAttribute("Appearance")]
public ScaleMode AutoScaleMode {get; set;}
JScript 
System.ComponentModel.DescriptionAttribute("Specifies how the image is scaled to fit the control")
System.ComponentModel.CategoryAttribute("Appearance")
public function get,set AutoScaleMode : ScaleMode
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Specifies how the image is scaled to fit the control")]
[System.ComponentModel.CategoryAttribute("Appearance")]
public: __property ScaleMode get_AutoScaleMode();
public: __property void set_AutoScaleMode( 
   ScaleMode value
);
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Specifies how the image is scaled to fit the control")]
[System.ComponentModel.CategoryAttribute("Appearance")]
public:
property ScaleMode AutoScaleMode {
   ScaleMode get();
   void set (    ScaleMode value);
}

Property Value

The scale mode.

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.