Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")> <CategoryAttribute("Behavior")> Public Overridable Property AutoResetScaleFactor As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterImageViewer Dim value As Boolean instance.AutoResetScaleFactor = value value = instance.AutoResetScaleFactor |
C# | |
---|---|
[DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")] [CategoryAttribute("Behavior")] public virtual bool AutoResetScaleFactor {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("Enables or disables the automatic reset of the ScaleFactor property.")] [CategoryAttribute("Behavior")] public: virtual property bool AutoResetScaleFactor { bool get(); void set ( bool value); } |
Property Value
true to enable automatic reset, false to disable it.Refer to RasterImageViewer.
When set to true, this will automatically reset the ScaleFactor property back to 1.0 when a new image is set to the viewer.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7