setResolution

Navigation:  References > Common Parts > Methods >

setResolution

Previous pageReturn to chapter overviewNext page

Sets the resolution (DPI) of a device onto which a barcode will be rendered.

public void setResolution(int resolution)

Parameters

resolution

Specifies the resolution (DPI) of a device onto which a barcode will be rendered. The default value is 96 for computer screen and a valid value can be 300,  600, 1200, or something else for printers.