WpfPointCollectionSetItem Method |
Replaces the element at the specified index.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxprotected override void SetItem(
int index,
Point item
)
Protected Overrides Sub SetItem (
index As Integer,
item As Point
)
Parameters
- index
- Type: SystemInt32
The zero-based index of the element to replace. - item
- Type: System.WindowsPoint
The new value for the element at the specified index. The value can be null for reference types.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException | index is less than zero.
-or-
index is greater than Count.
|
See Also