PrinterImage(Int32,Int32,Boolean,Single,Rectangle,Boolean,Int32) Method
Creates a copy of the image for printing or other purposes
public DicomImage PrinterImage(
System.int ,
System.int ,
System.bool ,
System.float ,
System.Drawing.Rectangle ,
System.bool ,
System.int
)
public function PrinterImage(
: System.Integer;
: System.Integer;
: System.Boolean;
: System.Single;
: System.Drawing.Rectangle;
: System.Boolean;
: System.Integer
): DicomImage;
public function PrinterImage(
: System.int,
: System.int,
: System.boolean,
: System.float,
: System.Drawing.Rectangle,
: System.boolean,
: System.int
) : DicomImage;
public: DicomImage* PrinterImage(
System.int ,
System.int ,
System.bool ,
System.float ,
System.Drawing.Rectangle ,
System.bool ,
System.int
)
public:
DicomImage^ PrinterImage(
System.int ,
System.int ,
System.bool ,
System.float ,
System.Drawing.Rectangle ,
System.bool ,
System.int
)
'Declaration
Public Overloads Function PrinterImage( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Single, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.Boolean, _
ByVal As System.Integer _
) As DicomImage
'Usage
Dim instance As DicomImage
Dim Bits As System.Integer
Dim Planes As System.Integer
Dim ShowAnnotations As System.Boolean
Dim Zoom As System.Single
Dim Area As System.Drawing.Rectangle
Dim SquarePixels As System.Boolean
Dim Frame As System.Integer
Dim value As DicomImage
value = instance.PrinterImage(Bits, Planes, ShowAnnotations, Zoom, Area, SquarePixels, Frame)
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.
- Frame
The frame number to use. This is 1-index, i.e. first frame is 1 not 0
Return Value
Target Platforms: .NET CLR 4.8 or higher