ImgEdit User Control

ImgEdit Class Library

ImgEdit.FitTo(ImgEdit.ImageFit,Boolean)

 

Fits the image display.

 

[Visual Basic]

Public Sub FitTo( _

ByVal Option As ImageFit, _

ByVal Repaint As Boolean)

 

Parameters

    Option

        The image fit selection (Best fit, fit to width, original size).

    Repaint

        Refreshes the image display.

 

Return Value

    None.

 

Example

[Visual Basic] The following example fits the image to the best fit and refreshes the display.

 

[Visual Basic]

ImgEdit1.FitTo(ImgEdit.ImageFit.BestFit, True)

 

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista family.

Documentation Version 1.6