Image MapFocus(IImage Area, Boolean) Method
This method can be used to set the focus to a specific image area
Definition
Namespace: EWSoftware.ImageMaps.Windows.Forms
Assembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
C#
public void Focus(
IImageArea area,
bool setFocus
)VB
Public Sub Focus (
area As IImageArea,
setFocus As Boolean
)C++
public:
void Focus(
IImageArea^ area,
bool setFocus
)F#
member Focus :
area : IImageArea *
setFocus : bool -> unit Parameters
- area IImageArea
- 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 image map does not contain the image area specified, the focus is cleared.