VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ResizeCanvasCommand Class / ResizeCanvasCommand Constructors / ResizeCanvasCommand Constructor(Int32,Int32)
Syntax Exceptions Requirements SeeAlso
In This Topic
    ResizeCanvasCommand Constructor(Int32,Int32)
    In This Topic
    Initializes a new instance of the ResizeCanvasCommand 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 ResizeCanvasCommand(
    System.Int32 width,
    System.Int32 height
    )
    public: ResizeCanvasCommand(
    System.Int32 width,
    System.Int32 height
    )
    public:
    ResizeCanvasCommand(
    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