LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

SizeMode Property (RasterImageViewer)






Determines how the control displays the image and the automatic adjustments of the display rectangles.
Syntax
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")]
public virtual RasterPaintSizeMode SizeMode {get; set;}
'Declaration
 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")>
Public Overridable Property SizeMode As RasterPaintSizeMode
'Usage
 
Dim instance As RasterImageViewer
Dim value As RasterPaintSizeMode
 
instance.SizeMode = value
 
value = instance.SizeMode
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")]
public virtual RasterPaintSizeMode SizeMode {get; set;}
CategoryAttribute("Appearance")
DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")
 get_SizeMode();
set_SizeMode(value);
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")]
public:
virtual property RasterPaintSizeMode SizeMode {
   RasterPaintSizeMode get();
   void set (    RasterPaintSizeMode value);
}

Property Value

Value which determines how the control displays the image and the automatic adjustments of the display rectangles.
Example
Refer to RasterImageViewer.
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

Reference

RasterImageViewer Class
RasterImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.