←Select platform

CalculateBarcodeSize Method

Summary

Calculates the barcode size that is going to be written.

Syntax

C#
VB
C++

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly