Sdílet prostřednictvím


PropertyGuidsForContextNodes.RotatedBoundingBox Field

Specifies the globally unique identifier (GUID) for getting the point array that represents the rotated bounding box.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Syntax

'Declaration
Public Shared ReadOnly RotatedBoundingBox As Guid
'Usage
Dim value As Guid 

value = PropertyGuidsForContextNodes.RotatedBoundingBox
public static readonly Guid RotatedBoundingBox
public:
static initonly Guid RotatedBoundingBox
public static final var RotatedBoundingBox : Guid

Remarks

The RotatedBoundingBox field represents the rotated bounding box, or a rotated rectangle that bounds the bullet, word, line, or paragraph, on a ContextNode of type InkBullet, InkWord, Line, or Paragraph.

Examples

The following example checks for an existing RotatedBoundingBox in the ContainsPropertyData method of an AnalysisHintNode. If the RotatedBoundingBox field exists, it is converted to a point array to populate 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);
}

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodes Class

PropertyGuidsForContextNodes Members

System.Windows.Ink Namespace