Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Viewers Namespace / ImageViewer Class / ImageViewer Constructor / ImageViewer Constructor(Size,ImageStyle)
A System.Drawing.Size structure representing the size of the image.
An Xceed.Grid.ImageStyle value representing the style of the image.


In This Topic
    ImageViewer Constructor(Size,ImageStyle)
    In This Topic
    Initializes a new instance of the ImageViewer class specifying the size and style of the image displayed by the viewer.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal imageSize As Size, _
       ByVal imageStyle As ImageStyle _
    )
    'Usage
     
    Dim imageSize As Size
    Dim imageStyle As ImageStyle
     
    Dim instance As New ImageViewer(imageSize, imageStyle)
    public ImageViewer( 
       Size imageSize,
       ImageStyle imageStyle
    )

    Parameters

    imageSize
    A System.Drawing.Size structure representing the size of the image.
    imageStyle
    An Xceed.Grid.ImageStyle value representing the style of the image.
    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