1. Richard Albrecht
  2. Valentina Studio
  3. Вторник, Июнь 09 2020, 05:12 PM
  4.  Подписаться через email
Our graphics person sent me a file as a png sized to 8.5" X 11". When I bring it into Studio it is way 2 big.

What size can I tell her to make it? So it fills the entire page? Scaling doesn't work. There has to be a way to do this.

It's a blank invoice that I need to put the fields on top of.

Thanks
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
I'm also getting

12:29:58 Page 1: Area report body 'reportbody1' too big to fit in page

And I only have the one graphic on page. And borders all set to 0.

Page size is Letter
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Hello Richard,

Looks like there is some rounding problem, the closest picture size control I can set is 8.5”x10.98” (for the Letter format)

Own report resolution is 4 pixels per millimeter, 101.6 per inch.
Usually you can use bigger images in report, just scale them down - this image will be printed with higher resolution.
But you wrote scaling doesn’t work, what exactly is wrong?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
Yes, the current problem is in rounding on conversion between inch/mm/px, 1 pixel is not enough to generate a report.

Currently, the size of the Letter page in pixels is 864 x 1116

So the workaround:
1) Create an image of this size (or proportionally bigger if you can use the scale property)
2) Switch units in the top-left corner from inches to pixels
3) Set the height of the picture control to 1116
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
I have set the size to 864 x 1116 and still getting
13:12:08 Page 1: Area report body 'reportbody1' too big to fit in page
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
What about Page Body region, are properties margin_bottom, margin_top set to 0?
Вложения
Комментарий
There are no comments made yet.
Richard Albrecht Ответ принят
Auto_size wasn't checked, what is that for?
Комментарий
There are no comments made yet.
Sergey Pashkov Ответ принят
If there is some empty space before or after the picture it will be skipped.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.