DicomObjects.NET.8.48 Documentation
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 System.Boolean, _
       ByVal UseLabels As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As DicomPrint
    Dim Image As DicomImage
    Dim Raw As System.Boolean
    Dim UseLabels As System.Boolean
     
    instance.PrintImage(Image, Raw, UseLabels)
    public void PrintImage( 
       DicomImage Image,
       System.bool Raw,
       System.bool UseLabels
    )
    public procedure PrintImage( 
        Image: DicomImage;
        Raw: System.Boolean;
        UseLabels: System.Boolean
    ); 
    public function PrintImage( 
       Image : DicomImage,
       Raw : System.boolean,
       UseLabels : System.boolean
    );
    public: void PrintImage( 
       DicomImage* Image,
       System.bool Raw,
       System.bool UseLabels
    ) 
    public:
    void PrintImage( 
       DicomImage^ Image,
       System.bool Raw,
       System.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.8 or higher

    See Also