Strokes Members
The following tables list the members exposed by the Strokes type.
Public Properties
Name | Description | |
---|---|---|
Count | Gets the number of Stroke objects contained in the Strokes collection. | |
Ink | Gets the Ink object that contains the Strokes collection. | |
IsFixedSize | Gets a value indicating whether the Strokes collection has a fixed size. | |
IsReadOnly | Gets a value indicating whether the Strokes collection is read-only. | |
IsSynchronized | Gets a value that indicates whether or not access to the Strokes collection is synchronized (thread safe). | |
Item | Gets the Stroke object at the specified index within the Strokes collection. | |
RecognitionResult | Gets the RecognitionResult object of the Strokes collection. | |
SyncRoot | Returns an object that can be used to synchronize access to the Strokes collection. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Overloaded. Adds one or more Stroke objects to the Strokes collection. | |
Clear | Clears all the Stroke objects from the Strokes collection. | |
Clip | Removes the portions of every Stroke object in the Strokes collection that are outside a given rectangle. | |
Contains | Indicates whether the Strokes collection contains a specific Stroke object. | |
CopyTo | Copies all of the elements of the current Strokes collection to the specified one-dimensional array, starting at the specified destination array index. | |
Dispose | Overloaded. Releases resources used by the Strokes collection. | |
Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) | |
GetBoundingBox | Overloaded. Returns the bounding Rectangle that contains the Strokes collection. | |
GetEnumerator | Returns an object that implements the IEnumerator interface and that can iterate through the Stroke objects within the Strokes collection. | |
GetHashCode | Serves as a hash function for a particular type. (inherited from Object) | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
IndexOf | Returns the index of a specific Stroke object within a Strokes collection. | |
ModifyDrawingAttributes | Sets the DrawingAttributes property of all of the Stroke objects in Strokes collection. | |
Move | Applies a translation to the ink of the Strokes collection. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
Remove | Overloaded. Removes one or more Stroke objects from the Strokes collection. | |
RemoveAt | Removes the Stroke object at the specified index of the Strokes collection. | |
RemoveRecognitionResult | Removes the RecognitionResult object that is associated with the Strokes collection. | |
Rotate | Rotates the Strokes collection around a center point. | |
Scale | Scales the Strokes collection in the X and Y dimensions. | |
ScaleToRectangle | Scales the Strokes collection to fit in the specified Rectangle structure. | |
Shear | Shears the Strokes collection by the specified horizontal and vertical factors. | |
ToString | Overridden. Deprecated. Returns a string that represents the top RecognitionResult object for the current Strokes collection. | |
Transform | Overloaded. Applies a linear transformation to a Strokes collection. |
Top
Protected Methods
Name | Description | |
---|---|---|
Dispose | Overloaded. Releases resources used by the Strokes collection. | |
Finalize | Overridden. Frees the resources of the current Strokes object before it is reclaimed by the garbage collector. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Top
Public Events
Name | Description | |
---|---|---|
StrokesAdded | Occurs when one or more Stroke objects are added to the Strokes collection. | |
StrokesRemoved | Occurs when one or more Stroke objects are deleted from the Strokes collection. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
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