TextEffect.PositionCount Property

 

Gets or sets the position in the text that the TextEffect applies to.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

Public Property PositionCount As Integer

Property Value

Type: System.Int32

The Int32 value representing the position in the text that the TextEffect applies to.

Setting the PositionCount value to a number that is greater than the maximum position in the affected text is valid.

Identifier field

PositionCountProperty

Metadata properties set to true

None

The following code example shows how you can set PositionCount value to the maximum Int32 value to ensure that all characters in the text are affected.

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

.NET Framework
Available since 3.0
Return to top
Show: