共用方式為


PropertyGuidsForContextNodesBase.Baseline 欄位

指定用來取得點陣列的全域唯一識別項 (GUID),這個點陣列表示筆墨字的基線。

命名空間:  System.Windows.Ink.AnalysisCore
組件:  IACore (在 IACore.dll 中)

語法

'宣告
Public Shared ReadOnly Baseline As Guid
'用途
Dim value As Guid

value = PropertyGuidsForContextNodesBase.Baseline
public static readonly Guid Baseline
public:
static initonly Guid Baseline
public static final Guid Baseline
public static final var Baseline : Guid

備註

這個欄位表示 InkWord 型別之 ContextNode 上的基線。基線是一條想像水平線,每個字元的基底 (下緣除外) 都會對齊這條線。

範例

下列範例示範 Baseline 欄位。

' Get the base of each character in a line of text
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.Baseline) Then
    Dim myBaseline() As Integer = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.Baseline), Integer())
End If
// Get the base of each character in a line of text
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.Baseline))
{
    int[] myBaseline =
        (int[])myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.Baseline);
}

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

PropertyGuidsForContextNodesBase 類別

PropertyGuidsForContextNodesBase 成員

System.Windows.Ink.AnalysisCore 命名空間