Debenu Quick PDF logo

GetPDF417SymbolWidth

Vector graphics, Barcodes

Version history

This function was introduced in Quick PDF Library version 15.11.

Description

Calculates the width of a PDF417 symbol

Syntax

Delphi

function TDebenuPDFLibrary1811.GetPDF417SymbolWidth(Text: WideString; Options, 
  FixedColumns, FixedRows, ErrorLevel: Integer; ModuleSize, 
  HeightWidthRatio: Double): Double;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::GetPDF417SymbolWidth(Text As String,
  Options As Long, FixedColumns As Long, FixedRows As Long,
  ErrorLevel As Long, ModuleSize As Double,
  HeightWidthRatio As Double) As Double

DLL

double DPLGetPDF417SymbolWidth(int InstanceID, wchar_t * Text, int Options,
  int FixedColumns, int FixedRows, int ErrorLevel, double ModuleSize,
  double HeightWidthRatio)

Parameters

Text The text to store in the symbol
Options 0 = Normal
1 = Rotate 90 degrees counter clockwise
2 = Rotate 180 degrees
3 = Rotate 90 degrees clockwise
FixedColumns 0 = Auto
Non-zero = fixed number of columns
FixedRows 0 = Auto
Non-zero = fixed number of rows
ErrorLevel -1 = Auto
0 to 8 = User error level
ModuleSize The width of the smallest element in units defined by a call to SetMeasurementUnits
HeightWidthRatio The ratio of the needed module height to the module width

Return values

0 One of the parameters was invalid or the text was too big for the symbol site.
Non-zero The width of the PDF417 symbol

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport