指定全域唯一識別項 (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 類別