DicomObjects.NET.V8
DicomObjects Namespace / IFrameSource Interface / ReadFrame Method
The zero-based frame number to read
The array to put the data into
Total number of frames expected to be present



In This Topic
    ReadFrame Method
    In This Topic
    Read one frame
    Syntax
    'Declaration
     
    Sub ReadFrame( _
       ByVal frame0 As Integer, _
       ByVal result As Array, _
       ByVal frameCount As Integer _
    ) 
    'Usage
     
    Dim instance As IFrameSource
    Dim frame0 As Integer
    Dim result As Array
    Dim frameCount As Integer
     
    instance.ReadFrame(frame0, result, frameCount)
    void ReadFrame( 
       int frame0,
       Array result,
       int frameCount
    )
    void ReadFrame( 
       int frame0,
       Array^ result,
       int frameCount
    ) 

    Parameters

    frame0
    The zero-based frame number to read
    result
    The array to put the data into
    frameCount
    Total number of frames expected to be present
    Remarks
    It is expected that result will contain a byte array in most cases
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also