Error processing SSI file
LEADTOOLS Barcode (Leadtools.Barcode assembly)

Show in webframe

CalculateBarcodeSize Method








The X-axis (along width) resolution of the RasterImage of the barcode being written.
The Y-axis (along height) resolution of the RasterImage of the barcode being written.
BarcodeData class that contains the barcode information to be written on the image.
BarcodeColor class that contains the color information to be written on the image.
Flags that indicate the method behavior. Values can be combined when appropriate, by using a bitwise OR (|). Pass BarcodeWriteFlags.None to use the default values, based on the type of barcode that has been written.
Barcode1d class that contains the information about linear barcodes.
BarcodeWritePdf class that contains the information about PDF417 and MicroPDF417 barcodes.
BarcodeWriteDatamatrix class that contains the information about Data Matrix barcodes.
BarcodeWriteQr class that contains the information about QR barcodes.
Calculates the barcode size that is going to be written.
Syntax
'Declaration
 
Public Function CalculateBarcodeSize( _
   ByVal dpiX As Integer, _
   ByVal dpiY As Integer, _
   ByVal data As BarcodeData, _
   ByVal codeColor As BarcodeColor, _
   ByVal flags As BarcodeWriteFlags, _
   ByVal code1d As Barcode1d, _
   ByVal codePdf As BarcodeWritePdf, _
   ByVal codeDatamatrix As BarcodeWriteDatamatrix, _
   ByVal codeQr As BarcodeWriteQr _
) As LeadRect
'Usage
 
Dim instance As BarcodeEngine
Dim dpiX As Integer
Dim dpiY As Integer
Dim data As BarcodeData
Dim codeColor As BarcodeColor
Dim flags As BarcodeWriteFlags
Dim code1d As Barcode1d
Dim codePdf As BarcodeWritePdf
Dim codeDatamatrix As BarcodeWriteDatamatrix
Dim codeQr As BarcodeWriteQr
Dim value As LeadRect
 
value = instance.CalculateBarcodeSize(dpiX, dpiY, data, codeColor, flags, code1d, codePdf, codeDatamatrix, codeQr)
 function Leadtools.Barcode.Deprecated.BarcodeEngine.CalculateBarcodeSize( 
   dpiX ,
   dpiY ,
   data ,
   codeColor ,
   flags ,
   code1d ,
   codePdf ,
   codeDatamatrix ,
   codeQr 
)

Parameters

dpiX
The X-axis (along width) resolution of the RasterImage of the barcode being written.
dpiY
The Y-axis (along height) resolution of the RasterImage of the barcode being written.
data
BarcodeData class that contains the barcode information to be written on the image.
codeColor
BarcodeColor class that contains the color information to be written on the image.
flags
Flags that indicate the method behavior. Values can be combined when appropriate, by using a bitwise OR (|). Pass BarcodeWriteFlags.None to use the default values, based on the type of barcode that has been written.
code1d
Barcode1d class that contains the information about linear barcodes.
codePdf
BarcodeWritePdf class that contains the information about PDF417 and MicroPDF417 barcodes.
codeDatamatrix
BarcodeWriteDatamatrix class that contains the information about Data Matrix barcodes.
codeQr
BarcodeWriteQr class that contains the information about QR barcodes.

Return Value

LeadRect with the barcode size before writing the barcode over the image.
Requirements

Target Platforms

See Also

Reference

BarcodeEngine Class
BarcodeEngine Members
Read Method

Error processing SSI file
Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features