DicomObjects Reference
DicomObjects Reference / DicomImage Object / RenderToDC 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.
RenderToDC Method
Description
Render to a Device Context
Syntax
Visual Basic
Public Sub RenderToDC( _
   ByVal hDC As Integer, _
   ByVal x As Long, _
   ByVal y As Long, _
   ByVal cx As Long, _
   ByVal cy As Long _
) 
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.
Remarks
See PictureWithLut for more details of how the LUT is constructed and used.
See Also