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.
Namespace: EWSoftware.ImageMaps.Windows.FormsAssembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2023.1.3.0
public bool SizeToImage { get; set; }
Public Property SizeToImage As Boolean
Get
Set
public:
property bool SizeToImage {
bool get ();
void set (bool value);
}
member SizeToImage : bool with get, set
Property Value
BooleanIf 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.