Compartir a través de


StrokeIntersection.EndIndex Property

Gets or sets the ending point of the StrokeIntersection structure.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Property EndIndex As Single
'Usage
Dim instance As StrokeIntersection
Dim value As Single

value = instance.EndIndex

instance.EndIndex = value
public float EndIndex { get; set; }
public:
property float EndIndex {
    float get ();
    void set (float value);
}
/** @property */
public float get_EndIndex ()

/** @property */
public void set_EndIndex (float value)
public function get EndIndex () : float

public function set EndIndex (value : float)
Not applicable.

Property Value

The floating point index where the intersection ends.

Remarks

If the stroke ends within the intersected area, this value is -1.

A floating point index is a float value that represents a location somewhere between two points in the stroke. As examples, if 0.0 is the first point in the stroke and 1.0 is the second point in the stroke, 0.5 is halfway between the first and second points. Similarly, a floating point index value of 37.25 represents a location that is 25 percent along the line between points 37 and 38 of the stroke.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

StrokeIntersection Structure
StrokeIntersection Members
Microsoft.Ink Namespace
StrokeIntersection.EndIndex