Determining width of Code 128 barcode

Feature Requests for GdPicture.NET.
Post Reply
guruross
Posts: 47
Joined: Tue Jul 22, 2008 11:14 pm
Location: Redding, CA, USA
Contact:

Determining width of Code 128 barcode

Post by guruross » Fri Sep 12, 2008 2:39 am

When using the cImaging object to draw a Code 128 barcode, is there any way to determine the width of the barcode? It would be particularly usefull to be able to determine the width before drawing the barcode so the target image may be created to fit the barcode exactly, though it would be acceptable to receive the barcode width after generation and then crop down to size.

(really, this applies to any bar code type)

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Determining width of Code 128 barcode

Post by Loïc » Sat Sep 13, 2008 10:43 am

Good idea!

These methods will be implemented into the next release:

Code: Select all

BarCodeGetWidth128()
BarCodeGetWidth25i()
BarCodeGetWidth39()
BarCodeGetWidthEAN13()
Best regards,

Loïc

guruross
Posts: 47
Joined: Tue Jul 22, 2008 11:14 pm
Location: Redding, CA, USA
Contact:

Re: Determining width of Code 128 barcode

Post by guruross » Mon Sep 15, 2008 5:14 pm

Awesome! Your responsiveness is #1!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest