Share via


SizeHelper.FromDimensions(Single, Single) 메서드

정의

너비 및 높이 요소 값을 기반으로 새 Size 를 만듭니다. C# 코드는 Size(Double,Double) 생성자를 대신 사용해야 합니다.

public:
 static Size FromDimensions(float width, float height);
 static Size FromDimensions(float const& width, float const& height);
public static Size FromDimensions(float width, float height);
function fromDimensions(width, height)
Public Shared Function FromDimensions (width As Single, height As Single) As Size

매개 변수

width
Single

float

초기 Width입니다.

height
Single

float

초기 Height입니다.

반환

만든 크기입니다.

적용 대상

추가 정보