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



In This Topic
    BestRequest Method (SimpleCodec)
    In This Topic
    The most appropriate DicomObjects.Internal.PixelRequest, given the requested zoom and image/codec type
    Syntax
    'Declaration
     
    Public Function BestRequest( _
       ByVal Zoom As Single, _
       ByVal Sync As RequestType, _
       ByVal parent As DicomDataSet, _
       ByVal Frame As Integer _
    ) As PixelRequest
    'Usage
     
    Dim instance As SimpleCodec
    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)
    public PixelRequest BestRequest( 
       float Zoom,
       RequestType Sync,
       DicomDataSet parent,
       int Frame
    )
    public:
    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
    For this codec, the return object always references the full area, as this compression method does not support partial decompression
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also