Home > Back-end >  Fastreport barcode cannot calculate the width?
Fastreport barcode cannot calculate the width?

Time:10-02

I am using xe2 fastreport, but set up different words, return are fixed, the width of the

TfrxBarcodeView (fr. FindObject (' barCode ')). The Text:='123456789';
Showmessage (floattostr (TfrxBarcodeView (fr. FindObject (' barCode ')). The Width));
TfrxBarcodeView (fr. FindObject (' barCode ')). The Text:='123';
Showmessage (floattostr (TfrxBarcodeView (fr. FindObject (' barCode ')). The Width));
Display is 71, so that can not be centered, is there a way to make barcode center (I have set Alian baCenter is still the same)? thank you

CodePudding user response:

My is D7 + fastreport4.6.8
Can set Alian for baCenter center,

CodePudding user response:

Then the problem solved? I here can't center.
  • Related