VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ResizeCommand Class / ResizeCommand Constructors / ResizeCommand Constructor(Int32,Int32)
Syntax Exceptions Requirements SeeAlso
In This Topic
    ResizeCommand Constructor(Int32,Int32)
    In This Topic
    Initializes a new instance of the ResizeCommand class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal width
    New width of the image.
    As System.Int32, _
    ByVal height
    New height of the image.
    As System.Int32 _
    )
    public ResizeCommand(
    System.Int32 width,
    System.Int32 height
    )
    public: ResizeCommand(
    System.Int32 width,
    System.Int32 height
    )
    public:
    ResizeCommand(
    System.Int32 width,
    System.Int32 height
    )

    Parameters

    width
    New width of the image.
    height
    New height of the image.
    Exceptions
    ExceptionDescription
    Thrown if width or height is lower or equal to 0 or greater than 65535.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also