다음을 통해 공유


TrackBar.Orientation 속성

이 트랙 표시줄이 가로 방향인지 아니면 세로 방향인지를 나타내는 값을 가져오거나 설정합니다.

네임스페이스:  Microsoft.Office.Tools.Word.Controls
어셈블리:  Microsoft.Office.Tools.Word.v4.0.Utilities(Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

구문

‘선언
Public Property Orientation As Orientation
    Get
    Set
public Orientation Orientation { get; set; }

속성 값

형식: System.Windows.Forms.Orientation
Orientation 값 중 하나입니다.

예외

예외 상황
InvalidEnumArgumentException

할당된 값이 Orientation 값 중 하나가 아닌 경우

설명

Orientation 속성이 System.Windows.Forms.Orientation.Horizontal로 설정된 경우 Value가 늘어나면 스크롤 상자가 오른쪽에서 왼쪽으로 이동합니다. Orientation 속성이 **System.Windows.Forms.Orientation.Vertical,**로 설정된 경우 Value가 늘어나면 스크롤 상자가 아래쪽에서 위쪽으로 이동합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

TrackBar 클래스

Microsoft.Office.Tools.Word.Controls 네임스페이스