다음을 통해 공유


Size.Width 속성

Size의 가로 구성 요소를 가져오거나 설정합니다.

네임스페이스: System.Drawing
어셈블리: System.Drawing(system.drawing.dll)

구문

‘선언
Public Property Width As Integer
‘사용 방법
Dim instance As Size
Dim value As Integer

value = instance.Width

instance.Width = value
public int Width { get; set; }
public:
property int Width {
    int get ();
    void set (int value);
}
/** @property */
public int get_Width ()

/** @property */
public void set_Width (int value)
public function get Width () : int

public function set Width (value : int)

속성 값

Size의 가로 구성 요소(대개 픽셀)입니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0, 1.0에서 지원

참고 항목

참조

Size 구조체
Size 멤버
System.Drawing 네임스페이스