VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Codecs.ImageFiles.Tiff Namespace / TiffPage Class / GetImageRect Method
The zero based index of left-top rectangle.
The zero based index of right-bottom rectangle.
Scale factor.
Decoding settings used for decode the image of page.
Progress delegate.



In This Topic
    GetImageRect Method (TiffPage)
    In This Topic
    Returns the rectangle image of this TIFF page if image data are non compressed (Compression == TiffCompression.None).
    Syntax

    Parameters

    leftTopRectangleIndex
    The zero based index of left-top rectangle.
    rightBottomRectangleIndex
    The zero based index of right-bottom rectangle.
    scale
    Scale factor.
    decodingSettings
    Decoding settings used for decode the image of page.
    progressDelegate
    Progress delegate.

    Return Value

    Image of rectangle of this TiffPage object if image was loaded successfully; otherwise, null.
    Exceptions
    ExceptionDescription
    Thrown if if SourceBitsPerPixel is not equal to BitsPerPixel.
    Thrown if leftTopRectangleIndex is less than zero or greater than number of rectangles in image grid OR rightBottomRectangleIndex is less than zero or greater than number of rectangles in image grid.
    Thrown if error occurred while loading of image.
    Remarks
    This method is optimized for reading uncompressed data and can be used only when the GetStripGrid method returned not null value.

    This method is working in current thread.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also