Mirror Text or Flip Vertical

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
adamsnider
Posts: 1
Joined: 27 Oct 2017, 22:10

Mirror Text or Flip Vertical

Post by adamsnider » 27 Oct 2017, 22:13

I need to flip text like you are looking at it in the mirror. I see there is a property for CADText.Backward, but I don't know how to set the text to show up backwards or mirrored. Can someone please help?!

Thanks
Adam

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: Mirror Text or Flip Vertical

Post by support » 30 Oct 2017, 15:44

Hello Adam,

You may try to use text generation flags (bit-coded values) in the text style (CADStyle.TextGenFlags) as follows:

Code: Select all

cadText.Style.TextGenFlags = 2;   // Text is backward (mirrored in X)
or

Code: Select all

cadText.Style.TextGenFlags = 4;   // Text is upside down (mirrored in Y)
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Romoidinut
Posts: 2
Joined: 11 Dec 2017, 11:12

Re: Mirror Text or Flip Vertical

Post by Romoidinut » 11 Dec 2017, 12:54

Thanks for the method and code. I'm looking for it. Thank you very much

Post Reply