Debenu Quick PDF logo

DrawDataMatrixSymbol

Vector graphics, Barcodes

Description

This function draws a Data Matrix symbol onto the page. Data Matrix is a 2D barcode symbology allowing large amounts of data to be stored.

Availability

Windows/Delphi, Windows/ActiveX, Windows/DLL, Mac/Dylib, iOS, Android

Parameters

Left double The horizontal co-ordinate of the left edge of the symbol
Top double The vertical co-ordinate of the top edge of the symbol
ModuleSize double This value is used for the width and height of the dots which make up the symbol
Text unistr The text/data to store in the symbol
Encoding int32 1 = ASCII encoding. See the Data Matrix specification for details.
SymbolSize int32 0 = Auto size
1 = 10x10
2 = 12x12
3 = 8x18
4 = 14x14
5 = 8x32
6 = 16x16
7 = 12x26
8 = 18x18
9 = 20x20
10 = 12x36
11 = 22x22
12 = 16x36
13 = 24x24
14 = 26x26
15 = 16x48
16 = 32x32
17 = 36x36
18 = 40x40
19 = 44x44
20 = 48x48
21 = 52x52
22 = 64x64
23 = 72x72
24 = 80x80
25 = 88x88
26 = 96x96
27 = 104x104
28 = 120x120
29 = 132x132
Options int32 0 = Normal
1 = Rotate 90 degrees counter clockwise
2 = Rotate 180 degrees
3 = Rotate 90 degrees clockwise
Add 100 to for 1 unit quiet zone (white border) - (default)
Add 200 to for 2 units quiet zone
Add 300 to for 3 units quiet zone
Add 400 to for 4 units quiet zone

Return type and values

0 int32 The Encoding, SymbolSize or Options parameter was invalid
1 int32 The Data Matrix symbol was drawn successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport