Dana petak, 11. studenoga 2022. u 15:49:29 UTC+1 korisnik dlzc napisao je:
On Thursday, November 10, 2022 at 3:03:47 PM UTC-7, [email protected] wrote:
I have one example for creating Pdf417 barcode using ActiveX
technology EaseBarCd.dll. It all works fine, but the application
creates an image of a different size depending on the resolution
of the monitor and the type of graphics card. Does anyone know
if there is a possibility in EaseBarCd to create an image that is
always the same size regardless of monitor resolution and type
of graphics card?
Given that you are probably "riding on default values" which are gleaned from the computer's display capability by default...
I'd bet what you are looking for is here: https://easesoft.net/Support.html#properties
David A. Smith
First David, thanks for your reply. Even before my first question, I was working with the following properties that affect image size: ControlWidth, ControlHeigth, RasterImageResoution, BarTopMargin, BarLeftMargin, PDFModuleHeight, PDFModuleWidth and
Autosize. That seemed to me to be enough then, and it seems to me now after additional consideration of those properties and all other properties of EaseBarCd. No matter how much I considered them, I could not figure out where I could even look for a
solution, let alone find a solution.
There is nothing in the existing manual that would point me to a solution. Another issue that I didn't mention earlier is the image display in ReportPro. In fact, this is the question that caused the first question and the need to have the image always the same size. I inserted the image in the report and adjusted the size.
ReportPro stretches or shrinks the image created in EaseBarCd according to its algorithm. The problem is that the image is stretched unexpectedly in different resolutions and graphics cards. For example I tested the image at the same resolution 1920x1050
on two different computers and I get two different sizes on the printout !? On one computer it works fine on all resolutions, but on the other it doesn't. When I set the ratio and layout (text size in applications) to, for example, 1.25%, then I get a
printout in sizes that satisfy me. Of course, this is not very convenient because clients would have to choose that option on their computer regardless of what they want. I tried to create a barcode in the Zint program, which creates an image of the same
size on different resolutions and graphics cards without white spaces, but Zint also creates an image of a different size at a text size of 125%.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)