-1

Need size area of print in pixels for calculate content. For size i use css:

@page {
   size: 11in 8.5in;
   margin: 1in;
}

enter image description here

FluffyKitten
  • 13,824
  • 10
  • 39
  • 52

1 Answers1

0

Your question is a little bit vague, but assuming you're trying to do this via JavaScript, see:

How do I retrieve an HTML element's actual width and height?

Get div height with plain JavaScript

Get DIV width and height in javascript

Billy
  • 35
  • 6