Image MapSize To Image 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: 2024.12.31.0
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.
Assembly: EWSoftware.ImageMaps.Windows.Forms (in EWSoftware.ImageMaps.Windows.Forms.dll) Version: 2024.12.31.0
C#
public bool SizeToImage { get; set; }VB
Public Property SizeToImage As Boolean
Get
SetC++
public:
property bool SizeToImage {
bool get ();
void set (bool value);
}F#
member SizeToImage : bool with get, setProperty 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.