回転された境界ボックスを表すポイント配列を取得するためのグローバル一意識別子 (GUID) を指定します。
名前空間 : 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 クラス