Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > How to get the height of the row and width of the column in millimeters (SpreadsheetDocument)?

Forum

Search UsersRules
How to get the height of the row and width of the column in millimeters (SpreadsheetDocument)?
#1
Just came
Points:: 0
Joined:: Oct 25, 2014

How to get the height of the row and width of the column in millimeters (SpreadsheetDocument)?
Please explain how to convert values of RowHeight and ColWidth of the SpreadsheetDocument into mm?

Profile
#2
Guest
Points::
Joined::

Please see Spreadsheet document area size determination topic.

Profile
#3
Just came
Points:: 0
Joined:: Oct 25, 2014

It can not help me

Profile
#4
Guest
Points::
Joined::

You can adjust the size of cells to match the size of the plastic card. Any way you will have to try it before printing a lot.

Profile
#5
Just came
Points:: 0
Joined:: Oct 25, 2014

For all the cards can do so. But part of the card can not determine the size.
Please explain how to convert values of RowHeight and ColWidth of the SpreadsheetDocument into mm?

Profile
#6
Guest
Points::
Joined::

It depends on the font and font size. You can only use CheckPut to test if specified rows match the paper size. The best solution is to create a common template which will match the card size and change picture and field values in it.

Profile
#7
Active user
Points:: 0
Joined:: Feb 8, 2013

Quote
Nguyen Le Nam wrote:
Please explain how to convert values of RowHeight and ColWidth of the SpreadsheetDocument into mm?

In RowHeight and Width parameters absolute value in pt, so i think it should be like

1 millimeter = 2.834645669291 point

Profile
#8
Just came
Points:: 0
Joined:: Oct 25, 2014

Hi Pavel Zhgulev,height <> width.

Profile
#9
Active user
Points:: 0
Joined:: Feb 8, 2013

Nguyen Le Nam,
Ahh, of course, its my fault. My answer is actual only for height.

Also, if you change width of column or height of row in spreadsheet document in designer mode, in left bottom corner you can see status panel with values in mm, but, i think this values are rounded.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.