Why is component size by code in pixels?

edited 3:10AM in FastReport 3.0
Hi,

by designer I set the size of the components in cm.
But if I change this value during runtime by code, it is in pixels!?!?! ;)

How can I change the properties of top, left, height & width also in cm by code?

Comments

  • edited 3:10AM
    Hi..

    Did you've any solutions for this now? I have the same problem where I need to re-place an object at runtime using cm/mm instead of pixels...

    Regards & Nice X-Mas,
    Marc
  • edited 3:10AM
    The author told me:

    1cm = 37,7953 Pixels

    Regards,
    Marc

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.