VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / RenderImageCommand Class / SourceRect Property
Syntax Requirements SeeAlso
In This Topic
    SourceRect Property (RenderImageCommand)
    In This Topic
    Gets or sets the rectangle, in pixels, that specifies the portion of an image to draw.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The rectangle, in pixels, that specifies the portion of an image to draw.")>
    <TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.RectangleFConverter)>
    Public Property SourceRect As System.Drawing.RectangleF
    
    
    [Description("The rectangle, in pixels, that specifies the portion of an image to draw.")]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public System.Drawing.RectangleF SourceRect { get; set; }
    
    
    [Description("The rectangle, in pixels, that specifies the portion of an image to draw.")]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public: __property System.Drawing.RectangleF* get_SourceRect();
    public: __property void set_SourceRect(
    System.Drawing.RectangleF* value
    );
    [Description("The rectangle, in pixels, that specifies the portion of an image to draw.")]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.RectangleFConverter)]
    public:
    property System.Drawing.RectangleF^ SourceRect { System.Drawing.RectangleF^ get(); void set(System.Drawing.RectangleF^ value); }
    Requirements

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

    See Also