Compartir a través de


InkEdit.SelInks Property

Gets or sets the array of embedded Ink objects (if displayed as ink) in the current selection.

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

Syntax

'Declaration
Public Property SelInks As Ink()
'Usage
Dim instance As InkEdit
Dim value As Ink()

value = instance.SelInks

instance.SelInks = value
public Ink[] SelInks { get; set; }
public:
property array<Ink^>^ SelInks {
    array<Ink^>^ get ();
    void set (array<Ink^>^ value);
}
/** @property */
public Ink[] get_SelInks ()

/** @property */
public void set_SelInks (Ink[] value)
public function get SelInks () : Ink[]

public function set SelInks (value : Ink[])
Not applicable.

Property Value

The embedded Ink objects (if displayed as ink) in the current selection.

Remarks

Ink is displayed as ink in the InkEdit control if the InkInsertMode property is set to InsertAsInk.

You must recognize ink before you access it through this property. If you do not recognize the ink, the SelInks property contains zero Ink objects. You must either call the Recognize method (if the RecoTimeout value equals 0) or wait until the ink is automatically recognized (when the RecoTimeout value is greater than 0) to access it through this property.

The InkEdit control ignores any DrawingAttributes on ink set through the SelInks property. Instead, it applies alternate drawing attributes according to the attributes of nearby text.

This property is available at run time only.

To select the ink, use the Select(System.Int32,System.Int32)Select(System.Int32,System.Int32) method.

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

InkEdit Class
InkEdit Members
Microsoft.Ink Namespace
Ink
InkEdit.Recognize
InkEdit.RecoTimeout