Leadtools.WinForms.CommonDialogs.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ZoomToFit Property
See Also 
Leadtools.WinForms.CommonDialogs.Color Namespace > RasterWindowLevelDialog Class : ZoomToFit Property



Gets or sets the value that determines whether the dialog should display the Image Zoomed to fit the preview window.

Syntax

Visual Basic (Declaration) 
Public Property ZoomToFit As Boolean
Visual Basic (Usage)Copy Code
Dim instance As RasterWindowLevelDialog
Dim value As Boolean
 
instance.ZoomToFit = value
 
value = instance.ZoomToFit
C# 
public bool ZoomToFit {get; set;}
C++/CLI 
public:
property bool ZoomToFit {
   bool get();
   void set (bool value);
}

Return Value

true means the dialog should display the Image Zoomed to fit the preview window, false means the dialog should display the Image with normal size in the preview window.

Example

Refer to RasterWindowLevelDialog example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also