VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing Namespace / ProcessingCommandWithRegion Class / GetSafeRegionOfInterest Methods / GetSafeRegionOfInterest(Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetSafeRegionOfInterest(Int32,Int32) Method (ProcessingCommandWithRegion)
    In This Topic
    Returns the safe region of interest (region of interest inside the image).
    Syntax
    'Declaration
    
    Protected Overloads Function GetSafeRegionOfInterest( _
    ByVal imageWidth
    Width of the source image.
    As System.Int32, _
    ByVal imageHeight
    Height of the source image.
    As System.Int32 _
    ) As System.Drawing.Rectangle
    protected System.Drawing.Rectangle GetSafeRegionOfInterest(
    System.Int32 imageWidth,
    System.Int32 imageHeight
    )
    protected: System.Drawing.Rectangle* GetSafeRegionOfInterest(
    System.Int32 imageWidth,
    System.Int32 imageHeight
    )
    protected:
    System.Drawing.Rectangle^ GetSafeRegionOfInterest(
    System.Int32 imageWidth,
    System.Int32 imageHeight
    )

    Parameters

    imageWidth
    Width of the source image.
    imageHeight
    Height of the source image.

    Return Value

    The safe region of interest (region of interest inside the image).
    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