Share via


PosPrinterBase.PrintMemoryBitmap(PrinterStation, Bitmap, Int32, Int32) Method

Definition

Prints a memory-stored bitmap on the specified printer station.

public override void PrintMemoryBitmap (Microsoft.PointOfService.PrinterStation station, System.Drawing.Bitmap data, int width, int alignment);
override this.PrintMemoryBitmap : Microsoft.PointOfService.PrinterStation * System.Drawing.Bitmap * int * int -> unit
Public Overrides Sub PrintMemoryBitmap (station As PrinterStation, data As Bitmap, width As Integer, alignment As Integer)

Parameters

station
PrinterStation

The printer station to be used. May be eitherreceipt or slip.

data
Bitmap

Memory byte array representation of the bitmap.

width
Int32

Printed width of the bitmap to be performed. Valid widths include asIs and other bitmap width values expressed in the unit of measure given by MapMode.

alignment
Int32

Placement of the bitmap. Valid alignments include left, right, center, and other values that express a distance from the left-most print column to the start of the bitmap. These values are expressed in the unit of measure given by MapMode.

Applies to