ScrollableControl.ScaleControl(SizeF, BoundsSpecified) 方法

定義

縮放控制項的位置、大小、邊框間距和邊界。

protected:
 override void ScaleControl(System::Drawing::SizeF factor, System::Windows::Forms::BoundsSpecified specified);
protected override void ScaleControl (System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified);
override this.ScaleControl : System.Drawing.SizeF * System.Windows.Forms.BoundsSpecified -> unit
Protected Overrides Sub ScaleControl (factor As SizeF, specified As BoundsSpecified)

參數

factor
SizeF

控制項高度與寬度的縮放比例。

specified
BoundsSpecified

BoundsSpecified 值,指定在定義控制項的大小和位置時所用的控制項範圍。

適用於

另請參閱