Share via


PosPrinter.SetBitmap(Int32, PrinterStation, String, Int32, Int32) Method

Definition

Saves information about a bitmap for later printing.

public abstract void SetBitmap (int bitmapNumber, Microsoft.PointOfService.PrinterStation station, string fileName, int width, int alignment);
abstract member SetBitmap : int * Microsoft.PointOfService.PrinterStation * string * int * int -> unit
Public MustOverride Sub SetBitmap (bitmapNumber As Integer, station As PrinterStation, fileName As String, width As Integer, alignment As Integer)

Parameters

bitmapNumber
Int32

The number to be assigned to this bitmap. Two bitmaps, numbered 1 and 2, may be set.

station
PrinterStation

The printer station to be used. Possible values are defined by the PrinterStation enumeration. Valid values are as follows: PrinterStation.Receipt or PrinterStation.Slip.

fileName
String

Name of Windows bitmap file. The file must be in uncompressed format. If set to an empty string (""), the bitmap is unset.

width
Int32

Printed width of the bitmap to be performed. See the PrintBitmap method for values.

alignment
Int32

Placement of the bitmap.

Applies to