2 Replies - 249 Views - Last Post: 16 July 2019 - 03:56 AM Rate Topic: -----

#1 DrDress   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 41
  • Joined: 23-July 12

Draw Rotated Text

Posted 16 July 2019 - 02:18 AM

Hi

I've googled around about this, and it seems that the way to do it is by rotating the Graphics object, draw the text and then rotate Graphics back. Kinda tedious.

Do anyone have a method which does this correctly without using any weird reference, dll ect.?
Is This A Good Question/Topic? 0
  • +

Replies To: Draw Rotated Text

#2 andrewsw   User is online

  • never lube your breaks
  • member icon

Reputation: 6818
  • View blog
  • Posts: 28,228
  • Joined: 12-December 12

Re: Draw Rotated Text

Posted 16 July 2019 - 02:40 AM

For what kind of application? WPF? WinForms? ...
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 7053
  • View blog
  • Posts: 23,974
  • Joined: 05-May 12

Re: Draw Rotated Text

Posted 16 July 2019 - 03:56 AM

If this is WinForms, then that is what the the Graphics.BeginContainer() and Graphics.EndContainer() methods are for.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1