語言

TableLayoutPanel.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 指定了控制點在定義大小和位置時的界限。

適用於