Search code examples
font-sizemigradoc

What are MigraDoc font sizes in pixels?


What are MigraDoc font sizes (Font.Size property) in pixels? I would like to find an equivalent to css small, medium, large, x-large, xx-large and xxx-large.

EDIT

My question actually was what is the relation between MigraDoc unit of measure for font size (from the selected answer I found out it is point) and pixel. As an addition I said what I need it for.


Solution

  • MigraDoc does not know "pixels". All font sizes are in points.

    Neither PDF nor RTF have "pixels".

    There are 72 points per inch.
    https://en.wikipedia.org/wiki/Point_(typography)