FitWindowType Property
Description
Returns or sets whether to resize the image to fit the image to the width or height of the window. To use the property, the view mode should be set to -1 by -1. You can use SetViewMode method to set the view mode.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V6.2 | Since V6.2 | Since V6.4 |
Data type
short
Syntax
ObjectName. FitWindowType
Remarks
| Allowed Values | Fit Window Type |
| 0 (default) | Fit the image to the width and height of the window |
| 1 | Fit the image to the height of the window |
| 2 | Fit the image to the width of the window |
See also
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.
