DicomObjects.NET8 Documentation
DicomObjects.Codecs 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also