Drawing Text in an angle

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Urs Vogel

    Drawing Text in an angle

    Hi

    During the paint event, I can DrawText from left to right, or from top to
    bottom (angled by 90°) by setting the Drawing.StringF ormat.FormatFla gs, but
    how can I drawText from right to left (angled 180°) or bottom to top (angled
    270°)?

    Urs


  • Herfried K. Wagner [MVP]

    #2
    Re: Drawing Text in an angle

    "Urs Vogel" <uvogel@msn.com > schrieb:[color=blue]
    > During the paint event, I can DrawText from left to right, or from top to
    > bottom (angled by 90°) by setting the Drawing.StringF ormat.FormatFla gs,
    > but how can I drawText from right to left (angled 180°) or bottom to top
    > (angled 270°)?[/color]

    Untested:

    <URL:http://www.google.de/groups?selm=uHQ SG%23zrCHA.1676 %40TK2MSFTNGP10 >

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Drawing Text in an angle

      "Urs Vogel" <uvogel@msn.com > schrieb:[color=blue]
      > During the paint event, I can DrawText from left to right, or from top to
      > bottom (angled by 90°) by setting the Drawing.StringF ormat.FormatFla gs,
      > but how can I drawText from right to left (angled 180°) or bottom to top
      > (angled 270°)?[/color]

      Untested:

      <URL:http://www.google.de/groups?selm=uHQ SG%23zrCHA.1676 %40TK2MSFTNGP10 >

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      • Urs Vogel

        #4
        Re: Drawing Text in an angle

        Thanks Herfried, looks reasonable. Can't understand why this hasn't been
        enumerated in Drawing.StringF ormat.FormatFla gs.

        Urs

        "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> schrieb im Newsbeitrag
        news:%23nLgaFl1 EHA.3596@TK2MSF TNGP12.phx.gbl. ..[color=blue]
        > "Urs Vogel" <uvogel@msn.com > schrieb:[color=green]
        >> During the paint event, I can DrawText from left to right, or from top to
        >> bottom (angled by 90°) by setting the Drawing.StringF ormat.FormatFla gs,
        >> but how can I drawText from right to left (angled 180°) or bottom to top
        >> (angled 270°)?[/color]
        >
        > Untested:
        >
        > <URL:http://www.google.de/groups?selm=uHQ SG%23zrCHA.1676 %40TK2MSFTNGP10 >
        >
        > --
        > M S Herfried K. Wagner
        > M V P <URL:http://dotnet.mvps.org/>
        > V B <URL:http://dotnet.mvps.org/dotnet/faqs/>[/color]


        Comment

        • Urs Vogel

          #5
          Re: Drawing Text in an angle

          Thanks Herfried, looks reasonable. Can't understand why this hasn't been
          enumerated in Drawing.StringF ormat.FormatFla gs.

          Urs

          "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> schrieb im Newsbeitrag
          news:%23nLgaFl1 EHA.3596@TK2MSF TNGP12.phx.gbl. ..[color=blue]
          > "Urs Vogel" <uvogel@msn.com > schrieb:[color=green]
          >> During the paint event, I can DrawText from left to right, or from top to
          >> bottom (angled by 90°) by setting the Drawing.StringF ormat.FormatFla gs,
          >> but how can I drawText from right to left (angled 180°) or bottom to top
          >> (angled 270°)?[/color]
          >
          > Untested:
          >
          > <URL:http://www.google.de/groups?selm=uHQ SG%23zrCHA.1676 %40TK2MSFTNGP10 >
          >
          > --
          > M S Herfried K. Wagner
          > M V P <URL:http://dotnet.mvps.org/>
          > V B <URL:http://dotnet.mvps.org/dotnet/faqs/>[/color]


          Comment

          Working...