PrinterImage(Int32,Int32,Boolean,Matrix,Rectangle,Int32,Int32) Method
Creates a copy of the image for printing or other purposes
public DicomImage PrinterImage(
System.int ,
System.int ,
System.bool ,
System.Drawing.Drawing2D.Matrix ,
System.Drawing.Rectangle ,
System.int ,
System.int
)
public function PrinterImage(
: System.Integer;
: System.Integer;
: System.Boolean;
: System.Drawing.Drawing2D.Matrix;
: System.Drawing.Rectangle;
: System.Integer;
: System.Integer
): DicomImage;
public function PrinterImage(
: System.int,
: System.int,
: System.boolean,
: System.Drawing.Drawing2D.Matrix,
: System.Drawing.Rectangle,
: System.int,
: System.int
) : DicomImage;
public: DicomImage* PrinterImage(
System.int ,
System.int ,
System.bool ,
System.Drawing.Drawing2D.Matrix* ,
System.Drawing.Rectangle ,
System.int ,
System.int
)
public:
DicomImage^ PrinterImage(
System.int ,
System.int ,
System.bool ,
System.Drawing.Drawing2D.Matrix^ ,
System.Drawing.Rectangle ,
System.int ,
System.int
)
'Declaration
Public Overloads Function PrinterImage( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Drawing.Drawing2D.Matrix, _
ByVal As System.Drawing.Rectangle, _
ByVal As System.Integer, _
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 Matrix As System.Drawing.Drawing2D.Matrix
Dim FinalArea As System.Drawing.Rectangle
Dim Frame As System.Integer
Dim PlanarConfig As System.Integer
Dim value As DicomImage
value = instance.PrinterImage(Bits, Planes, ShowAnnotations, Matrix, FinalArea, Frame, PlanarConfig)
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
- Matrix
The transform to apply to the pixels - this includes zoom etc.
- FinalArea
The output area to be filled
- Frame
The frame number to use. This is 1-index, i.e. first frame is 1 not 0
- PlanarConfig
The planar configuration value of the resulting image. For use in Printing, this should be 1 as defined by DICOM rules, but if this function is used for other purposes, then 0 may be required.
Return Value
Target Platforms: .NET CLR 4.8 or higher