PosPrinterBase.SetBitmap(Int32, PrinterStation, String, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves information about a bitmap for later printing.
public override void SetBitmap (int bitmapNumber, Microsoft.PointOfService.PrinterStation station, string fileName, int width, int alignment);
override this.SetBitmap : int * Microsoft.PointOfService.PrinterStation * string * int * int -> unit
Public Overrides 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: 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
Width of the bitmap.
- alignment
- Int32
Placement of the bitmap.