TextUnit not available

  1. 5 weeks ago

    Heinz-Jürgen G

    Mar 20 Pre-Release Testers, Xojo Pro

    I'm recently developing a console app for a Raspberry Pi.
    When tying to build my app, the compiler complains about this line of code:

    Dim g As Graphics = newPic.Graphics
    g.TextUnit = FontUnits.Pixel

    I get the error message:
    Type "Graphics" has no member named "TextUnit"

    Any ideas ?

  2. Greg O

    Mar 21 Xojo Inc Somewhere near Raleigh, NC

    It probably defaults to Pixel anyway....

  3. Greg O

    Mar 21 Xojo Inc Somewhere near Raleigh, NC

    You should probably file a bug report too.

  4. Norman P

    Mar 21 Xojo Inc

    Feedback Case #26147

or Sign Up to reply!