SetSize Method

Navigation:  Reference Guide > Methods >

SetSize Method

Previous pageReturn to chapter overviewNext page

Sets the size of the image which contains the barcode.

[Visual Basic .NET]

Public Sub SetSize(ByVal Width As Integer, ByVal Height As Integer)

[C#]

public void SetSize(int Width, int Height);

Parameters

Width

The width, in pixels, of the image.

Height

The height, in pixels, of the image.

 

Remarks

First call GetActualSize() method to obtain the actual size of the barcode, then use this method to set image size by adding surrounding white space around the barcode.

 

See Also

GetActualSize() Method