DicomObjects Reference
DicomObjects Reference / DicomImage Object / RenderToDCWithLUT Method
The Device Context to render to render the image to
The top left corner of the location in the DC to render to
The top left corner of the location in the DC to render to
The height and width of the area of the DC to render to.
The height and width of the area of the DC to render to.
Lookup table to apply to the DICOM data before rendering.
In This Topic
    RenderToDCWithLUT Method
    In This Topic
    Description
    Render to a Device Context
    Syntax
    Visual Basic
    Public Sub RenderToDCWithLUT( _
       ByVal hDC As Integer, _
       ByVal x As Long, _
       ByVal y As Long, _
       ByVal cx As Long, _
       ByVal cy As Long, _
       ByVal LUT As Variant _
    ) 
    Parameters
    hDC
    The Device Context to render to render the image to
    x
    The top left corner of the location in the DC to render to
    y
    The top left corner of the location in the DC to render to
    cx
    The height and width of the area of the DC to render to.
    cy
    The height and width of the area of the DC to render to.
    LUT
    Lookup table to apply to the DICOM data before rendering.
    Remarks
    See PictureWithLut for more details of how the LUT is constructed and used.
    See Also