DicomObjects.NET.V8
DicomObjects.DicomCodecs Namespace / IDecompressor Interface / BestRequest Method
The requested Zoom
The requested usage of the pixel data
The surrounding dataset
The requested Frame



In This Topic
    BestRequest Method (IDecompressor)
    In This Topic
    The most appropriate DicomObjects.Internal.PixelRequest, given the requested zoom and image/codec type
    Syntax
    'Declaration
     
    Function BestRequest( _
       ByVal Zoom As Single, _
       ByVal Sync As RequestType, _
       ByVal parent As DicomDataSet, _
       ByVal Frame As Integer _
    ) As PixelRequest
    'Usage
     
    Dim instance As IDecompressor
    Dim Zoom As Single
    Dim Sync As RequestType
    Dim parent As DicomDataSet
    Dim Frame As Integer
    Dim value As PixelRequest
     
    value = instance.BestRequest(Zoom, Sync, parent, Frame)
    PixelRequest BestRequest( 
       float Zoom,
       RequestType Sync,
       DicomDataSet parent,
       int Frame
    )
    PixelRequest^ BestRequest( 
       float Zoom,
       RequestType Sync,
       DicomDataSet^ parent,
       int Frame
    ) 

    Parameters

    Zoom
    The requested Zoom
    Sync
    The requested usage of the pixel data
    parent
    The surrounding dataset
    Frame
    The requested Frame

    Return Value

    The best fit
    Remarks
    This is only really used for codecs with partial decompression options, such as JPEG 2000 and JPIP
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also