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 Guid RotatedBoundingBox
public static final var RotatedBoundingBox : Guid
Not applicable.
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.
Example
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 98, Windows Server 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
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace