TextEffect.PositionCount 屬性

定義

取得或設定該應用 TextEffect 在文本中的位置。

public:
 property int PositionCount { int get(); void set(int value); };
public int PositionCount { get; set; }
member this.PositionCount : int with get, set
Public Property PositionCount As Integer

屬性值

代表 Int32TextEffect 適用的文本位置的值。

範例

以下程式碼範例說明如何將值設 PositionCount 為最大 Int32 值,以確保文字中所有字元都受到影響。

// Ensure that all characters in the text are affected.
textEffect.PositionCount = int.MaxValue;
' Ensure that all characters in the text are affected.
textEffect.PositionCount = Integer.MaxValue

備註

將該值設 PositionCount 為大於受影響文本最大位置的數字是有效的。

相依財產資訊

Item 價值觀
識別碼欄位 PositionCountProperty
元資料屬性設為 true None

適用於