| Visual Basic (Declaration) | |
|---|---|
<DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")> <CategoryAttribute("Appearance")> Public Overridable Property SizeMode As RasterPaintSizeMode | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")] [CategoryAttribute("Appearance")] public virtual RasterPaintSizeMode SizeMode {get; set;} | |
| C++/CLI | |
|---|---|
[DescriptionAttribute("Select one of the size modes available to the control (normal, Stretch, Fit, Fit Always or Fit Width).")] [CategoryAttribute("Appearance")] public: virtual property RasterPaintSizeMode SizeMode { RasterPaintSizeMode get(); void set (RasterPaintSizeMode value); } | |
Return Value
Value which determines how the control displays the image and the automatic adjustments of the display rectangles.Refer to RasterImageViewer.
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