This method adjusts Zoom so that the image fits within the client area of the component (while respecting the aspect ratio).
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void Fit( bool stretchSmall )
Public Sub Fit ( _ stretchSmall As Boolean _ )
public: void Fit( bool stretchSmall )
Parameters
- stretchSmall
- Boolean
If StretchSmall is false, then images that are smaller than the window are shown 1:1 (i.e. are not zoomed more than 100%).
Examples
CopyC#
IEViewer1.Fit();