ImageMapFocus(Int32, Boolean) Method

This method can be used to set the focus to a specific image area index

Definition

Namespace: EWSoftware.ImageMaps.Windows.Forms
Assembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2023.1.3.0
public void Focus(
	int area,
	bool setFocus
)

Parameters

area  Int32
The index of the image area to which focus is given
setFocus  Boolean
Specify true to make the image map the focused control, false to leave the focus alone.

Remarks

If the index is outside the bounds of the area collection, the focus is cleared.

See Also