Click or drag to resize

Hotspots Class

Provides a collection of hotspots.
Inheritance Hierarchy

Namespace:  Deltabit.WinForms
Assembly:  Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax
public class Hotspots : NameObjectCollectionBase, IEnumerable

The Hotspots type exposes the following members.

Constructors
  NameDescription
Public methodHotspots
Default constructor
Top
Properties
  NameDescription
Public propertyAllHotspotValues
Gets a Deltabit.WinForms.Hotspot array that contains all the values in the collection.
Public propertyCount
Gets the number of key/value pairs contained in the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
Public propertyItemInt32
The Default property of the Hotspots object, gets or sets the Hotspot at the specified index.
Public propertyItemString
The Default property of the Hotspots object, gets or sets the Hotspot with the specified name.
Public propertyKeys (Inherited from NameObjectCollectionBase.)
Top
Methods
  NameDescription
Public methodAdd
Adds a Deltabit.WinForms.Hotspot object to the collection The Name can be null
Public methodClear
Clears all the items from the collection.
Public methodClone
Clones all the hotspots in the hotpots collection.
Public methodContains
Determines if the collection of hotspots contains a Hotspot with the specified string Key value.
Public methodDeserializeHotspots
Deserializes the hospots XML passed, producing a collection of hotspots and assigning them to this collection.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the NameObjectCollectionBase.
(Inherited from NameObjectCollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance.
(Inherited from NameObjectCollectionBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from NameObjectCollectionBase.)
Public methodRefresh
Causes any newly added visible hotspots to be drawn to the HotImage.
Public methodRemove(Int32)
Removes a hotspot from the collection of hotspots identified by its index.
Public methodRemove(String)
Removes a hotspot object from the collection with the specified name object from the collection.
Public methodSerializeHotspots
Serializes the Hotspots in the hotimage into an XML format that can be used for saving hotpot data.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldParent
Gets or sets a reference to the parent HotImage owning the hotspots.
Top
See Also