업데이트: 2007년 11월
회전된 경계 상자를 나타내는 점 배열을 가져오는 데 사용할 GUID(Globally Unique Identifier)를 지정합니다.
네임스페이스: System.Windows.Ink
어셈블리: IAWinFX(IAWinFX.dll)
구문
‘선언
Public Shared ReadOnly RotatedBoundingBox As Guid
‘사용 방법
Dim value As Guid
value = PropertyGuidsForContextNodes.RotatedBoundingBox
public static readonly Guid RotatedBoundingBox
public:
static initonly Guid RotatedBoundingBox
public static final Guid RotatedBoundingBox
public static final var RotatedBoundingBox : Guid
설명
RotatedBoundingBox 필드는 InkBullet, InkWord, Line 또는 Paragraph 형식의 ContextNode에서 회전된 경계 상자 또는 글머리 기호, 단어, 줄, 단락을 둘러싸는 회전된 사각형을 나타냅니다.
예제
다음 예제에서는 AnalysisHintNode의 ContainsPropertyData 메서드에서 기존 RotatedBoundingBox를 확인합니다. RotatedBoundingBox 필드가 있으면 해당 필드는 myRotatedBoundingBox를 채우기 위한 점 배열로 변환됩니다.
' Get the rotated rectangle that bounds the bullet, word, line, or paragraph
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.RotatedBoundingBox) Then
Dim myRotatedBoundingBox As Integer() = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.RotatedBoundingBox), Integer())
End If
// Get the rotated rectangle that bounds the bullet, word, line, or paragraph
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.RotatedBoundingBox))
{
int[] myRotatedBoundingBox =
(int[])myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.RotatedBoundingBox);
}
플랫폼
Windows Vista
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원
참고 항목
참조
PropertyGuidsForContextNodes 클래스