ImageMapSizeToImage Property

This property is used to get or set whether or not the control will resize itself to show the entire image if possible if the image is larger than its current size or shrink its size to fit the image if the image is smaller than its current size.

Definition

Namespace: EWSoftware.ImageMaps.Windows.Forms
Assembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2023.1.3.0
public bool SizeToImage { get; set; }

Property Value

Boolean
If true, the control will resize itself to display the entire image if possible. An attempt is made to keep the control within the bounds of the parent control. If false (the default), it will keep its current size and will enable scroll bars when necessary if the image is too large to fit in the display area.

See Also