VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / MatrixTransformCommand Class / CropRect Property
Syntax Requirements SeeAlso
In This Topic
    CropRect Property (MatrixTransformCommand)
    In This Topic
    Gets or sets the rectangle, in pixels, that defines how to crop image after transformation.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The rectangle, in pixels, that defines how to crop image after transformation.")>
    <TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.RectangleFConverter)>
    Public Property CropRect As System.Drawing.RectangleF
    
    
    [Description("The rectangle, in pixels, that defines how to crop image after transformation.")]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public System.Drawing.RectangleF CropRect { get; set; }
    
    
    [Description("The rectangle, in pixels, that defines how to crop image after transformation.")]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public: __property System.Drawing.RectangleF* get_CropRect();
    public: __property void set_CropRect(
    System.Drawing.RectangleF* value
    );
    [Description("The rectangle, in pixels, that defines how to crop image after transformation.")]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public:
    property System.Drawing.RectangleF^ CropRect { System.Drawing.RectangleF^ get(); void set(System.Drawing.RectangleF^ value); }

    Property Value

    Empty rect - image will NOT be cropped after transformation; Not empty rect - image will be cropped after transformation.
    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