This documentation is archived and is not being maintained.

StrokeCollection Methods

(see also Protected Methods )
  Name Description
Public method Add Overloaded. Adds a Stroke to the collection.
Public method AddPropertyData Adds a custom property to the StrokeCollection.
Public method Clear  Removes all elements from the Collection. (inherited from Collection)
Public method Clip Overloaded. Removes all strokes in the StrokeCollection that are outside the specified bounds.
Public method Clone Copies the StrokeCollection.
Public method Contains  Determines whether an element is in the Collection. (inherited from Collection)
Public method ContainsPropertyData Returns whether the specified custom property identifier is in the StrokeCollection.
Public method CopyTo  Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (inherited from Collection)
Public method Draw Draws the strokes in the StrokeCollection.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Erase Overloaded. Removes the ink that is within the bounds of the specified area.
Public method GetBounds Returns the bounds of the strokes in the collection.
Public method GetEnumerator  Returns an enumerator that iterates through the Collection. (inherited from Collection)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetIncrementalLassoHitTester Creates an IncrementalLassoHitTester that hit tests the StrokeCollection with a lasso path.
Public method GetIncrementalStrokeHitTester Creates an IncrementalStrokeHitTester that hit tests the StrokeCollection with an erasing path.
Public method GetPropertyData Returns the value of the custom property associated with the specified Guid.
Public method GetPropertyDataIds Returns the GUIDs of any custom properties associated with the StrokeCollection.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method HitTest Overloaded. Returns the ink contained within the specified area.
Public method IndexOf Overloaded. Returns the index of the specified item in the StrokeCollection.
Public method Insert  Inserts an element into the Collection at the specified index. (inherited from Collection)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Remove Overloaded. Removes a Stroke from the collection.
Public method RemoveAt  Removes the element at the specified index of the Collection. (inherited from Collection)
Public method RemovePropertyData Removes the custom property associated with the specified Guid.
Public method Replace Overloaded. Replaces the strokes in the collection.
Public method Save Overloaded. Saves the StrokeCollection.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Transform Modifies each of the StylusPoints and optionally the StylusTipTransform for each stroke in the StrokeCollection according to the specified Matrix.
Top

  Name Description
Protected method ClearItems Overridden. Clears all strokes from the StrokeCollection.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method InsertItem Overloaded. Inserts an item into the StrokeCollection at the specified index.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method OnPropertyChanged Occurs when any StrokeCollection property changes.
Protected method OnPropertyDataChanged Raises the PropertyDataChanged event.
Protected method OnStrokesChanged Raises the StrokesChanged event.
Protected method RemoveItem Overridden. Removes the stroke at the specified index from the StrokeCollection.
Protected method SetItem Overloaded. Replaces the object at the specified index.
Top
Show: