System.Windows.Forms.Control.ScaleControl C# (CSharp) Method

ScaleControl() private method

private ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
factor SizeF
specified BoundsSpecified
return void
		protected virtual void ScaleControl (SizeF factor, BoundsSpecified specified)
		{
			Rectangle new_bounds = GetScaledBounds (bounds, factor, specified);

			SetBounds (new_bounds.X, new_bounds.Y, new_bounds.Width, new_bounds.Height, specified);
		}
Control