DicomObjects.NET.V8
DicomObjects Namespace / DicomPrint Class / PrintImage Method

The image to print

If true, the image is presumed to be pre-formatted (e.g. from a PrinterImage method), and is sent without modification, but if false (the norm), then an internal PrinterImage method is called first, thereby "fixing" the windowing, and (if UseLabels is true) adding any annotations.

If Raw is false, and this parameter is true, then any DicomLabels or DICOM annotations are "burnt-in" to the pixel data before the image is sent to the printer.




In This Topic
    PrintImage Method
    In This Topic
    Sends an image to the printer
    Syntax
    'Declaration
     
    Public Sub PrintImage( _
       ByVal Image As DicomImage, _
       ByVal Raw As Boolean, _
       ByVal UseLabels As Boolean _
    ) 
    'Usage
     
    Dim instance As DicomPrint
    Dim Image As DicomImage
    Dim Raw As Boolean
    Dim UseLabels As Boolean
     
    instance.PrintImage(Image, Raw, UseLabels)
    public void PrintImage( 
       DicomImage Image,
       bool Raw,
       bool UseLabels
    )
    public:
    void PrintImage( 
       DicomImage^ Image,
       bool Raw,
       bool UseLabels
    ) 

    Parameters

    Image

    The image to print

    Raw

    If true, the image is presumed to be pre-formatted (e.g. from a PrinterImage method), and is sent without modification, but if false (the norm), then an internal PrinterImage method is called first, thereby "fixing" the windowing, and (if UseLabels is true) adding any annotations.

    UseLabels

    If Raw is false, and this parameter is true, then any DicomLabels or DICOM annotations are "burnt-in" to the pixel data before the image is sent to the printer.

    Remarks
    Unless the order is altered explicitly using NextPosition or PrintFilm, images are put into each of the image boxes on the film in the default order, and each film is printed once full.
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also