Documentation / MathType

  • Demos
  • Visit our website
  • Downloads
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Wiris Integrations

                        • Home
                        • MathType
                        • MathType Office Tools
                        • MathType 7 for Windows and Mac
                        • MathType SDK
                        • MathType SDK

                        Interpreting the baseline

                        Reading time: 1min

                        Products: MathType for Windows

                        MathType stores coordinate information in WMF files in 1/16th of a point, where there are 72 points per inch. The following describes how to convert this value to screen coordinates:

                        Once the baseline value has been obtained, it needs to be converted to points:

                        Then converted to inches:

                        And finally, converted to pixels*:

                        For example, if we obtain a baseline of 64:

                        * In this example the number of pixels per vertical inch is 96, your results may differ, and so you should obtain this value at runtime using the call: ::GetDeviceCaps(HDC, LOGPIXELSY).

                        While this example demonstrates how to convert to pixels, it should help you convert to whatever coordinate system your application uses.

                        Was this article helpful?

                        Yes
                        No
                        Give feedback about this article

                        Related Articles

                        • Extracting baseline info from a GIF file
                        • Extracting baseline info from an EPS file
                        • Extracting baseline info from a Windows Metafile

                        Interpreting the baseline

                        Products: MathType for Windows

                        Making people’s STEM work more meaningful

                        MathType

                        • MathType for Office Tools
                        • MathType for Mac
                        • MathType for Microsoft 365
                        • MathType for Google Workspace
                        • MathType for LMS
                        • MathType for XML Editors
                        • Arabic notation
                        • Our products accessibility
                        • MathType is online

                        WirisQuizzes

                        Learning Lemur

                        Solutions for Education

                        • Blackboard Learn
                        • Brightspace by D2L
                        • Canvas
                        • Google Classroom
                        • Moodle
                        • Schoology

                        Solutions for Publishing Houses

                        Solutions for Technical Writers

                        Solutions for Chemistry

                        Integrations

                        • HTML Editors
                        • MathType in WordPress

                        Pricing

                        Company

                        Careers

                        Blog

                        Contact Us

                        Buy Now

                        Plugin Downloads

                        © Wiris 2025

                        • Cookie Settings
                        • Cookie Policy
                        • Terms of Use
                        • Privacy Policy / GDPR
                        • Student Data Privacy
                        • Compliance
                        • Powered by Helpjuice
                        Expand