Share via


Ink Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

Represents the collected strokes of ink within an ink space.

The Ink type exposes the following members.

Constructors

  Name Description
Public method Ink Initializes a new instance of the Ink class.

Top

Methods

  Name Description
Public method AddStrokesAtRectangle Specifies the known Strokes collection to insert into this Ink object at a specified rectangle.
Public method CanPaste Overloaded. Returns a value that indicates whether data (either on the Clipboard, or as an IDataObject) can be converted to an Ink object.
Public method Clip Removes the portions of a Stroke object or Strokes collection that are outside a given rectangle.
Public method ClipboardCopy Overloaded. Copies an Ink object or Strokes collection to the Clipboard.
Public method ClipboardPaste Overloaded. Pastes an IDataObject, either specified or from the Clipboard, to this Ink object.
Public method Clone Creates a copy of this Ink object.
Public method CreateStroke Overloaded. Creates a Stroke object from points or packet data.
Public method CreateStrokes Overloaded. Creates a Strokes collection for this Ink object.
Public method DeleteStroke Deletes a Stroke object from the Ink object.
Public method DeleteStrokes Overloaded. Deletes a Strokes collection from the Ink object.
Public method Dispose Overloaded. Releases resources used by the Ink object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExtractStrokes Overloaded. Extracts Stroke objects from the Ink object and returns a new Ink object containing the extracted Stroke objects.
Protected method Finalize Frees the resources of the current Ink object before it is reclaimed by the garbage collector. (Overrides Object.Finalize().)
Public method GetBoundingBox Overloaded. Returns the bounding Rectangle that contains all of the Stroke objects in the Ink object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HitTest Overloaded. Returns the Strokes collection contained within the specified area.
Public method Load Populates a new Ink object with known binary data.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NearestPoint Overloaded. Returns the Stroke object within the Ink object that is nearest to a known Point.
Public method Save Overloaded. Converts the Ink object to a specified format and returns the binary data in a Byte array.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member InkSerializedFormat Returns a string that contains the name of the format for ink serialized format (ISF) for querying the Clipboard.

Top

Properties

  Name Description
Public property CustomStrokes Gets the CustomStrokes collection to be persisted with the ink.
Public property Dirty Gets or sets the value that indicates whether an Ink object has been modified since the last time the ink was saved.
Public property ExtendedProperties Gets the collection of application-defined data.
Public property Strokes Gets a copy of the Strokes collection contained in the Ink object.

Top

Events

  Name Description
Public event InkAdded Occurs when a Stroke object is added to the Ink object.
Public event InkDeleted Occurs when a Stroke object is deleted from the Ink object.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone

Top

See Also

Reference

Ink Class

Microsoft.Ink Namespace