DicomObjects Reference
DicomObjects Reference / DicomImage Object / PrinterImage Method
Bit depth of final image (must be 8-16, but always 8 when Planes=3)
1 for monochrome and 3 for colour
Controls whether annotations are “burnt-in” to the new image
Zoom to apply to new image
Edges of the original image to use.
Edges of the original image to use.
Edges of the original image to use.
Edges of the original image to use.
In This Topic
    PrinterImage Method
    In This Topic
    Description
    Creates a copy of the image for printing images
    Syntax
    Visual Basic
    Public Function PrinterImage( _
       ByVal Bits As Integer, _
       ByVal Planes As Integer, _
       ByVal ShowAnnotations As Boolean, _
       ByVal Zoom As Single, _
       ByVal Left As Integer, _
       ByVal Right As Integer, _
       ByVal Top As Integer, _
       ByVal Bottom As Integer _
    ) As DicomImage
    Parameters
    Bits
    Bit depth of final image (must be 8-16, but always 8 when Planes=3)
    Planes
    1 for monochrome and 3 for colour
    ShowAnnotations
    Controls whether annotations are “burnt-in” to the new image
    Zoom
    Zoom to apply to new image
    Left
    Edges of the original image to use.
    Right
    Edges of the original image to use.
    Top
    Edges of the original image to use.
    Bottom
    Edges of the original image to use.
    Remarks
    The copy is fully rendered and scaled to the chosen bit depth, so no further windowing is required. Only 8 bits are allowed when Planes=3 (RGB).  Left, Right, Top and Bottom refer to the original image – the size of the final image is the product of the cropped size and the chosen zoom.  If the edges are given as 0, the full image is used.
    See Also