Click or drag to resize

GeneratedBarcodeResizeTo Method

Resizes the Barcode (excluding annotations and margins). This process causes a re-render and is lossless.

Namespace:  IronBarCode
Assembly:  IronBarCode (in IronBarCode.dll) Version: 4.0.1.22591 (4.0.1.0)
Syntax
public GeneratedBarcode ResizeTo(
	int MaxWidth,
	int MaxHeight
)

Parameters

MaxWidth
Type: SystemInt32
The maximum width of the barcode in px.
MaxHeight
Type: SystemInt32
The maximum height of the barcode in px.

Return Value

Type: GeneratedBarcode
This instance of GeneratedBarcode allowing for a fluent programming style.
See Also