PropertyGuidsForContextNodesBase.AlignmentLevel 欄位
指定用來取得或設定整數的全域唯一識別項 (GUID),這個數字表示段落的對齊度。
命名空間: System.Windows.Ink.AnalysisCore
組件: IACore (在 IACore.dll 中)
語法
'宣告
Public Shared ReadOnly AlignmentLevel As Guid
'用途
Dim value As Guid
value = PropertyGuidsForContextNodesBase.AlignmentLevel
public static readonly Guid AlignmentLevel
public:
static initonly Guid AlignmentLevel
public static final Guid AlignmentLevel
public static final var AlignmentLevel : Guid
備註
這個欄位表示 Paragraph 型別之 ContextNode 上的對齊度。對齊等級是每個段落所擁有相對於其他段落的縮排或定位停駐點數目。對齊等級不代表特定定位點與邊界的距離。
範例
下列範例示範 AlignmentLevel 欄位。
' Get the relative number of indents or tab stops on a paragraph
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.AlignmentLevel) Then
Dim myAlignmentLevel As Integer = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.AlignmentLevel), Integer)
End If
// Get the relative number of indents or tab stops on a paragraph
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.AlignmentLevel))
{
int myAlignmentLevel =
(int)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.AlignmentLevel);
}
平台
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0
請參閱
參考
PropertyGuidsForContextNodesBase 類別