AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Delphi Zint - Barcode height property

Zint - Barcode height property

Offene Frage von "schaumermal"
Ein Thema von WojTec · begonnen am 9. Aug 2011 · letzter Beitrag vom 14. Okt 2012
Antwort Antwort
Seite 1 von 2  1 2   
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#1

Zint - Barcode height property

  Alt 9. Aug 2011, 20:21
There is problem with TZintBarcode

Code:
http://www.delphipraxis.net/143986-%5Bkomponente%5D-barcode-fuer-delphi-zint.html
Barcode haight property is not changable! This is bug in component or in DLL? Zint Barcode Studio don't have this problem, so this can be bug in component. Has somebody valid version?

Geändert von WojTec ( 9. Aug 2011 um 20:24 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#2

AW: Zint - Barcode height property

  Alt 9. Aug 2011, 20:41
I've tried it with the current revision 843 and it works.

Delphi-Quellcode:
procedure TForm11.TrackBar1Change(Sender: TObject);
var
  zb : TZintBarcode;
  bmp : TBitmap;
begin
  Repaint;
  bmp := TBitmap.Create;

  zb := TZintBarcode.Create;
  zb.BarcodeType := tBARCODE_CODE128;
  zb.Height := TrackBar1.Position;
  zb.Data := 'Hallo';
  zb.GetBarcode(bmp);

  Canvas.Draw(10, 10, bmp);
  bmp.Free;
  zb.Free;
end;
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#3

Re: Zint - Barcode height property

  Alt 9. Aug 2011, 21:00
Please try this:

- use component instead directly
- set some 1D // Can change as in your example
- now set some 2D // Can't change
- finally set again some 1D // Still can't change

Also there is problem with border property - if you set barcode that uses it and then change to barcode that don't uses it, property has previous value.
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#4

AW: Zint - Barcode height property

  Alt 9. Aug 2011, 21:16
Ok ... it seems there is a problem. I'll take a look at it.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
Kurtow187

Registriert seit: 12. Feb 2006
Ort: Lippstadt
4 Beiträge
 
Delphi XE Professional
 
#5

AW: Zint - Barcode height property

  Alt 9. Aug 2011, 21:50
Hallo,

Ich habe das Problem, dass ich zur Entwurfszeit den Barcode in der Komponente sehe,
aber wenn ich kompiliert habe, bleibt die Komponente weiss.

Wenn ich zintbarCode direkt benutze, bekomme ich gar keine Ausgabe.
(auch nicht mit dem Beispiel von heute)

Ich habe die BPL120 mit DelphiXE (32Bit) kompiliert, und benutze die letzte dll von Zint (871 kb)



Grüße Kurtow187

Geändert von Kurtow187 ( 9. Aug 2011 um 22:13 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#6

AW: Zint - Barcode height property

  Alt 10. Aug 2011, 06:20
@Kurtow187:
Nimm mal bitte die zint.dll aus dem SVN. Die habe ich an unsere Komponente angepasst.

@WojTec:
I haven't found a solution till now. It seems, that it is a bug in zint. But maybe i'll get it in the future. Sorry.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)

Geändert von chaosben (10. Aug 2011 um 07:29 Uhr)
  Mit Zitat antworten Zitat
WojTec

Registriert seit: 17. Mai 2007
480 Beiträge
 
Delphi XE6 Professional
 
#7

Re: Zint - Barcode height property

  Alt 10. Aug 2011, 11:21
Ok, I hope Zint will fixed in the future

BTW: Why same version 843 from SF is bigger than version from your SVN?
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#8

AW: Zint - Barcode height property

  Alt 10. Aug 2011, 11:23
Because its a special compilation without PNG and some other features, not needed by our component.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
Kurtow187

Registriert seit: 12. Feb 2006
Ort: Lippstadt
4 Beiträge
 
Delphi XE Professional
 
#9

AW: Zint - Barcode height property

  Alt 12. Aug 2011, 21:03
Zitat:
@Kurtow187:
Nimm mal bitte die zint.dll aus dem SVN. Die habe ich an unsere Komponente angepasst.
@chaosben
Funktioniert leider auch nicht.

Ich habe jetzt mit der neuen uZintBarcode.pas (Version vom 10 August )compiliert
Jetzt bekomme ich eine Exception EReadError 'Eigenschaft Rotation existiert nicht'

Vielleicht liegts am DelphiXE?


Grüße Kurtow187
  Mit Zitat antworten Zitat
Benutzerbild von chaosben
chaosben

Registriert seit: 27. Apr 2005
Ort: Görlitz
1.358 Beiträge
 
Delphi XE2 Professional
 
#10

AW: Zint - Barcode height property

  Alt 12. Aug 2011, 21:38
Die Sache mit der Eigenschaft Rotation muss kommen, da ich nen Tippfehler ausgebügelt habe. Aber nur einmal pro verwendete Komponente.
Benjamin Schwarze
If I have seen further it is by standing on the shoulders of Giants. (Isaac Newton)
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2   

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:52 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz