[Visual
Basic] imagekitcontrolname.AutoSize
[= Boolean ]
[Visual
C++] [BOOL =
]imagekitcontrolname.GetAutoSize()
imagekitcontrolname.SetAutoSize(BOOL Val)
imagekitcontrolname.SetAutoSize(BOOL Val)
Property Value
Value | Explanation |
---|---|
True | The ImageKit Control will be resized to fit the size of the image |
False (default) | The size of the ImageKit Control, as determined at design-time or at run-time by the ImageKit Control height and width will be maintained. |
Explanation
The AutoSize property sets whether or not the ImageKit Control will be resized to fit the size of the image. When true, the ImageKit Control's top, left position is maintained and the ImageKit Control's height and width are changed to fit the size of the image.
Setting this value
This value can be set at design-time and run-time.Retrieving this value
This value can be retrieved at run-time.