次の方法で共有


Control.Scale メソッド

定義

コントロールと子コントロールをスケーリングします。

オーバーロード

名前 説明
Scale(SizeF)

指定した倍率でコントロールとすべての子コントロールをスケーリングします。

Scale(Single)
古い.
古い.

コントロールと子コントロールをスケーリングします。

Scale(Single, Single)
古い.
古い.

コントロール全体と子コントロールをスケーリングします。

Scale(SizeF)

ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs

指定した倍率でコントロールとすべての子コントロールをスケーリングします。

public:
 void Scale(System::Drawing::SizeF factor);
public void Scale(System.Drawing.SizeF factor);
member this.Scale : System.Drawing.SizeF -> unit
Public Sub Scale (factor As SizeF)

パラメーター

factor
SizeF

水平方向と垂直方向のスケール ファクターを含む SizeF

注釈

Scaleメソッドは、指定されたスケーリング factorによってコントロールをスケーリングします。 また、 ScaleChildren プロパティが trueされている場合は、すべての子コントロールを再帰的にスケーリングします。 内部的には、このメソッドは ScaleControl を呼び出して各コントロールをスケーリングします。

こちらもご覧ください

適用対象

Scale(Single)

ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs

注意事項

This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202

注意事項

This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202

コントロールと子コントロールをスケーリングします。

public:
 void Scale(float ratio);
public void Scale(float ratio);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float ratio);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float ratio);
member this.Scale : single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single -> unit
Public Sub Scale (ratio As Single)

パラメーター

ratio
Single

スケーリングに使用する比率。

属性

適用対象

Scale(Single, Single)

ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs
ソース:
Control.cs

注意事項

This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202

注意事項

This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202

コントロール全体と子コントロールをスケーリングします。

public:
 void Scale(float dx, float dy);
public void Scale(float dx, float dy);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float dx, float dy);
[System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public void Scale(float dx, float dy);
member this.Scale : single * single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single * single -> unit
[<System.Obsolete("This method has been deprecated. Use the Scale(SizeF ratio) method instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Scale : single * single -> unit
Public Sub Scale (dx As Single, dy As Single)

パラメーター

dx
Single

水平方向の拡大縮小率。

dy
Single

垂直方向の拡大縮小率。

属性

適用対象