Leadtools.WinForms Namespace > RasterImageViewer Class : ScaleFactor Property |
[DescriptionAttribute("Select one of the center mode available to the control (none, horizonal, vertical or both).")] [CategoryAttribute("Behavior")] public virtual double ScaleFactor {get; set;}
'Declaration <DescriptionAttribute("Select one of the center mode available to the control (none, horizonal, vertical or both).")> <CategoryAttribute("Behavior")> Public Overridable Property ScaleFactor As Double
'Usage Dim instance As RasterImageViewer Dim value As Double instance.ScaleFactor = value value = instance.ScaleFactor
[DescriptionAttribute("Select one of the center mode available to the control (none, horizonal, vertical or both).")] [CategoryAttribute("Behavior")] public virtual double ScaleFactor {get; set;}
DescriptionAttribute("Select one of the center mode available to the control (none, horizonal, vertical or both).") CategoryAttribute("Behavior") get_ScaleFactor();
set_ScaleFactor(value);
[DescriptionAttribute("Select one of the center mode available to the control (none, horizonal, vertical or both).")] [CategoryAttribute("Behavior")] public: virtual property double ScaleFactor { double get(); void set ( double value); }
Public Sub RasterImageViewer_ScaleFactor(ByVal viewer As RasterImageViewer) viewer.ScaleFactor = viewer.ScaleFactor * 0.9F Dim s As String = String.Format("CurrentXScaleFactor {0}, CurrentYScaleFactor {1}", viewer.CurrentXScaleFactor, viewer.CurrentYScaleFactor) MessageBox.Show(s) End Sub
public void RasterImageViewer_ScaleFactor(RasterImageViewer viewer) { viewer.ScaleFactor = viewer.ScaleFactor * 0.9f; string s = string.Format("CurrentXScaleFactor {0}, CurrentYScaleFactor {1}", viewer.CurrentXScaleFactor, viewer.CurrentYScaleFactor); MessageBox.Show(s); }
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