Compartir a través de


Strokes Members

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

Public Properties

  Name Description
Public property Count Gets the number of Stroke objects contained in the Strokes collection.
Public property Ink Gets the Ink object that contains the Strokes collection.
Public property IsFixedSize Gets a value indicating whether the Strokes collection has a fixed size.
Public property IsReadOnly Gets a value indicating whether the Strokes collection is read-only.
Public property IsSynchronized Gets a value that indicates whether or not access to the Strokes collection is synchronized (thread safe).
Public property Item Gets the Stroke object at the specified index within the Strokes collection.
Public property RecognitionResult Gets the RecognitionResult object of the Strokes collection.
Public property SyncRoot Returns an object that can be used to synchronize access to the Strokes collection.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Add Overloaded. Adds one or more Stroke objects to the Strokes collection.
Public method Clear Clears all the Stroke objects from the Strokes collection.
Public method Clip Removes the portions of every Stroke object in the Strokes collection that are outside a given rectangle.
Public method Contains Indicates whether the Strokes collection contains a specific Stroke object.
Public method CopyTo Copies all of the elements of the current Strokes collection to the specified one-dimensional array, starting at the specified destination array index.
Public method Dispose Overloaded. Releases resources used by the Strokes collection.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetBoundingBox Overloaded. Returns the bounding Rectangle that contains the Strokes collection.
Public method GetEnumerator Returns an object that implements the IEnumerator interface and that can iterate through the Stroke objects within the Strokes collection.
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 IndexOf Returns the index of a specific Stroke object within a Strokes collection.
Public method ModifyDrawingAttributes Sets the DrawingAttributes property of all of the Stroke objects in Strokes collection.
Public method Move Applies a translation to the ink of the Strokes collection.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Overloaded. Removes one or more Stroke objects from the Strokes collection.
Public method RemoveAt Removes the Stroke object at the specified index of the Strokes collection.
Public method RemoveRecognitionResult Removes the RecognitionResult object that is associated with the Strokes collection.
Public method Rotate Rotates the Strokes collection around a center point.
Public method Scale Scales the Strokes collection in the X and Y dimensions.
Public method ScaleToRectangle Scales the Strokes collection to fit in the specified Rectangle structure.
Public method Shear Shears the Strokes collection by the specified horizontal and vertical factors.
Public method ToString Overridden. Deprecated. Returns a string that represents the top RecognitionResult object for the current Strokes collection.
Public method Transform Overloaded. Applies a linear transformation to a Strokes collection.

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded. Releases resources used by the Strokes collection.
Protected method Finalize Overridden. Frees the resources of the current Strokes 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 StrokesAdded Occurs when one or more Stroke objects are added to the Strokes collection.
Public event StrokesRemoved Occurs when one or more Stroke objects are deleted from the Strokes collection.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns an IEnumerator that can iterate through the Strokes collection.

Top

See Also

Reference

Strokes Class
Microsoft.Ink Namespace
Stroke
Ink
DrawingAttributes