[]
Renders the current barcode into a new instance of GcBitmap with the specified resolution. It is the responsibility of the caller to dispose the returned bitmap after use.
Note that when the bitmap is drawn on a GcPdfGraphics, it must not be disposed until after the target PDF is saved.
public GcBitmap ToGcBitmap(int dpi = 300, bool aliased = false)
Public Function ToGcBitmap(Optional dpi As Integer = 300, Optional aliased As Boolean = False) As GcBitmap
Type | Name | Description |
---|---|---|
int | dpi | The resolution of the generated bitmap. |
bool | aliased | Whether the barcode is drawn without anti-aliasing |