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





Glossary Item Box

Gets or sets a value indicating whether the image is automatically centered in the control.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Indicates if the image is displayed centered in the control")>
<System.ComponentModel.CategoryAttribute("Behavior")>
Public Property AutoCenter As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim value As System.Boolean
 
instance.AutoCenter = value
 
value = instance.AutoCenter
C# 
[System.ComponentModel.DescriptionAttribute("Indicates if the image is displayed centered in the control")]
[System.ComponentModel.CategoryAttribute("Behavior")]
public System.bool AutoCenter {get; set;}
JScript 
System.ComponentModel.DescriptionAttribute("Indicates if the image is displayed centered in the control")
System.ComponentModel.CategoryAttribute("Behavior")
public function get,set AutoCenter : System.boolean
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Indicates if the image is displayed centered in the control")]
[System.ComponentModel.CategoryAttribute("Behavior")]
public: __property System.bool get_AutoCenter();
public: __property void set_AutoCenter( 
   System.bool value
);
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Indicates if the image is displayed centered in the control")]
[System.ComponentModel.CategoryAttribute("Behavior")]
public:
property System.bool AutoCenter {
   System.bool get();
   void set (    System.bool value);
}

Property Value

true if images are automatically centered; otherwise, false.

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.