'Declaration Public Overloads Function PrinterImage( _ ByVal Bits As Integer, _ ByVal Planes As Integer, _ ByVal ShowAnnotations As Boolean, _ ByVal Zoom As Single, _ ByVal Area As Rectangle, _ ByVal SquarePixels As Boolean, _ ByVal Frame As Integer, _ ByVal PlanarConfig As Integer _ ) 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 Frame As Integer Dim PlanarConfig As Integer Dim value As DicomImage value = instance.PrinterImage(Bits, Planes, ShowAnnotations, Zoom, Area, SquarePixels, Frame, PlanarConfig)
public DicomImage PrinterImage( int Bits, int Planes, bool ShowAnnotations, float Zoom, Rectangle Area, bool SquarePixels, int Frame, int PlanarConfig )
public: DicomImage^ PrinterImage( int Bits, int Planes, bool ShowAnnotations, float Zoom, Rectangle Area, bool SquarePixels, int Frame, int 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
- 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 ShowAnnotations 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
- 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.