title: How to set svg print (in mm for CorelDraw) and real/preview (in px) sizes?
body: <p>I have a basic SVG file, that has a fix 50mm x 25mm print size (so if I open it with CorelDraw the document size will be this.)</p>
  
  <pre><code>&lt;svg 
      width=50mm
      height=25mm
      xmlns="http://www.w3.org/2000/svg"
      version="1.1"
  &gt;
      &lt;g&gt;
          &lt;text
              x=0
              y=55
              font-family="Verdana"
              font-size=55
              fill="black"
          &gt;NOS?&lt;/text&gt;
          &lt;line
              class='v_pos'
              stroke="green"  
              x1=0 
              y1=55 
              x2=500
              y2=55
              stroke-width="1"  
          /&gt;
      &lt;/g&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>How can I achieve 500x250 px size in the browser? The ratio does not change, but I need a fixed canvas size in the web-browser too.</p>
  
  <p>I need reword/extend the problem:</p>
  
  <p>I'd like to export the graphics (created in browser) to CorelDraw, as it can read SVG files. The canvas in browser is for example 500x250px, and every object are measured first in pixel. After the export everything must be resided, <strong>started from the canvas</strong> (to 50x25mm) followed by the objects:</p>
  
  <p><img src="https://i.stack.imgur.com/Vt64T.png" alt="I need to set this"></p>
  
  <p>So the questions are:</p>
  
  <ul>
  <li>witch attribute is responsible for canvas width and height in CorelDraw?</li>
  <li>is there any fast way (preserveAspectRatio, viewBox, style media) of resizing containing objects, or I have to convert every object's width,height,x,y, etc. attributes one by one?</li>
  </ul>
  
  <p>Thank you for any advice!</p>