PrinterImage(Int32,Int32,Boolean,Single,Rectangle,Boolean) Method
Creates a copy of the image for printing or other purposes
'Declaration
Public Overloads Function PrinterImage( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As Single, _
ByVal As Rectangle, _
ByVal As Boolean _
) As DicomImage
'Usage
Dim instance As DicomImage
Dim Bits As Integer
Dim Planes As Integer
Dim ShowAnnotations As Boolean
Dim Zoom As Single
Dim Area As Rectangle
Dim SquarePixels As Boolean
Dim value As DicomImage
value = instance.PrinterImage(Bits, Planes, ShowAnnotations, Zoom, Area, SquarePixels)
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
- Area
The area of the original image to use
- SquarePixels
Controls whether Image Aspect Ratio is used - if true, then output pixels are square, but if false, then they retain their original aspect ratio
If is true, then this parameter is ignored and treated as true.
Return Value
Target Platforms: .NET CLR 4.0 or higher