TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / ImageItem Class / ImageItem Constructor / ImageItem Constructor(Image,Single)
An Image value that represents the image to display in a C1MultiScaleImage.
A System.Single value that indicate how much the C1MultiScaleImage.ZoomFactor is to display Image.

In This Topic
    ImageItem Constructor(Image,Single)
    In This Topic
    Initializes a new instance of the ImageItem class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal image As Image, _
       ByVal zoomFactor As Single _
    )
    public ImageItem( 
       Image image,
       float zoomFactor
    )

    Parameters

    image
    An Image value that represents the image to display in a C1MultiScaleImage.
    zoomFactor
    A System.Single value that indicate how much the C1MultiScaleImage.ZoomFactor is to display Image.
    Exceptions
    ExceptionDescription
    The assigned value of zoomFactor is less than or equal to 1.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also