'DeclarationPublic Function PrinterImage( _ ByVal Bits As Integer, _ ByVal Planes As Integer, _ ByVal Zoom As Single, _ ByVal Area As SkiaSharp.SKRectI, _ ByVal SquarePixels As Boolean, _ ByVal Frame As Integer, _ Optional ByVal cancellationToken As CancellationToken _ ) As DicomDataSet
'UsageDim instance As DicomDataSet Dim Bits As Integer Dim Planes As Integer Dim Zoom As Single Dim Area As SkiaSharp.SKRectI Dim SquarePixels As Boolean Dim Frame As Integer Dim cancellationToken As CancellationToken Dim value As DicomDataSet value = instance.PrinterImage(Bits, Planes, Zoom, Area, SquarePixels, Frame, cancellationToken)
public DicomDataSet PrinterImage( int Bits, int Planes, float Zoom, SkiaSharp.SKRectI Area, bool SquarePixels, int Frame, CancellationToken cancellationToken )
public: DicomDataSet^ PrinterImage( int Bits, int Planes, float Zoom, SkiaSharp.SKRectI Area, bool SquarePixels, int Frame, CancellationToken cancellationToken )
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
- 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
- Frame
Choose which Frame of the MultiFrame Image to apply PrinterImage method
- cancellationToken
- Cancellation token to terminate the call