ScrollBar.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) ScrollBar.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) ScrollBar.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) ScrollBar.GetScaledBounds(Rectangle, SizeF, BoundsSpecified) Method

정의

때 사용할 범위를 반환 합니다 ScrollBar 을 지정한 양 만큼 확장 됩니다.Returns the bounds to use when the ScrollBar is scaled by a specified amount.

protected:
 override System::Drawing::Rectangle GetScaledBounds(System::Drawing::Rectangle bounds, System::Drawing::SizeF factor, System::Windows::Forms::BoundsSpecified specified);
protected override System.Drawing.Rectangle GetScaledBounds (System.Drawing.Rectangle bounds, System.Drawing.SizeF factor, System.Windows.Forms.BoundsSpecified specified);
override this.GetScaledBounds : System.Drawing.Rectangle * System.Drawing.SizeF * System.Windows.Forms.BoundsSpecified -> System.Drawing.Rectangle
Protected Overrides Function GetScaledBounds (bounds As Rectangle, factor As SizeF, specified As BoundsSpecified) As Rectangle

매개 변수

bounds
Rectangle Rectangle Rectangle Rectangle

Rectangle 초기 범위를 지정 하 합니다.A Rectangle that specifies the initial bounds.

factor
SizeF SizeF SizeF SizeF

SizeF 현재 범위를 증가 시킬 양을 나타내는입니다.A SizeF that indicates the amount the current bounds should be increased by.

specified
BoundsSpecified BoundsSpecified BoundsSpecified BoundsSpecified

비트 조합 합니다 BoundsSpecified 는 방법을 나타내는 값 컨트롤의 크기 및 반환한 위치를 정의 하려면 GetScaledBounds(Rectangle, SizeF, BoundsSpecified)합니다.A bitwise combination of the BoundsSpecified values that indicate the how to define the control's size and position returned by GetScaledBounds(Rectangle, SizeF, BoundsSpecified).

반환

Rectangle 배율이 조정 된 범위를 지정 합니다.A Rectangle specifying the scaled bounds.

설명

도우미 메서드입니다.에서 사용 하 여 ScaleControl 에서 컨트롤 크기를 조정 해야 하는 범위를 반환 하는 방법입니다.This is a helper method that used by the ScaleControl method to return the bounds that the control should be scaled by. 다시 사용 하려는 경우이 메서드를 재정의할 수 있습니다 ScaleControl 크기 조정 논리를 하지만 범위를 직접 제공 해야 합니다.You may override this method if you wish to reuse ScaleControl scaling logic, but you need to supply your own bounds.

적용 대상