Freigeben über


Ink Members

The following tables list the members exposed by the Ink type.

Public Constructors

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

Top

Public Fields

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

Top

Public 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

Public Methods

(see also Protected 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 T:System.Windows.Forms.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  Overloaded. Determines whether two Object instances are equal. (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.
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.
Public method NearestPoint Overloaded. Returns the Stroke object within the Ink object that is nearest to a known Point.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
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

Protected Methods

  Name Description
Protected method Dispose Overloaded. Releases resources used by the Ink object.
Protected method Finalize Overridden. Frees the resources of the current Ink object before it is reclaimed by the garbage collector.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

Public 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 implementation Method System.ICloneable.Clone Creates a new object that is a copy of the current instance.

Top

See Also

Reference

Ink Class
Microsoft.Ink Namespace