VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / CropCommand Class / CropCommand Constructors / CropCommand Constructor(Rectangle)
Syntax Exceptions Requirements SeeAlso
In This Topic
    CropCommand Constructor(Rectangle)
    In This Topic
    Initializes a new instance of the CropCommand class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal cropRect
    Crop rectangle.
    As System.Drawing.Rectangle _
    )
    public CropCommand(
    System.Drawing.Rectangle cropRect
    )
    public: CropCommand(
    System.Drawing.Rectangle* cropRect
    )
    public:
    CropCommand(
    System.Drawing.Rectangle^ cropRect
    )

    Parameters

    cropRect
    Crop rectangle.
    Exceptions
    ExceptionDescription
    Thrown if cropRect has negative values or cropRect is empty.
    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