Jump to content

PDF417 Barcode Width and Height


Susan

Recommended Posts

I am creating a PDF417 barcode with the following rule:

 

var myBarcode = new PDF417Barcode();

myBarcode.pointSize =3;

return myBarcode.Make(Field("Reg Code") +"^"+ Field("First Name") +"^"+ Field("Last Name") +"^"+ Field("Position") +"^"+ Field("Organization") +"^"+ Field("Address") +"^"+ Field("Address 2") +"^"+ Field("City") +"^"+ Field("State/Province") +"^"+ Field("Postal Code") +"^"+ Field("Email"));

 

The barcode that is being created is too tall and not wide enough. Is there some way I can adjust this?

Link to comment
Share on other sites

I think I figured it out myself. I added a column amount in the rule and it adjusts the width:

 

var myBarcode = new PDF417Barcode();

myBarcode.pointSize =9;

myBarcode.totalColumns =9;

return myBarcode.Make(Field("Reg Code") +"^"+ Field("First Name") +"^"+ Field("Last Name") +"^"+ Field("Position") +"^"+ Field("Organization") +"^"+ Field("Address") +"^"+ Field("Address 2") +"^"+ Field("City") +"^"+ Field("State/Province") +"^"+ Field("Postal Code") +"^"+ Field("Email"));

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...