Bonjour,
Comment je pourrai tourner un text or un chiffre de 90° dans windows forms (sous visual studio C++ 2012)?
Merci bcp!
Bonjour,
Comment je pourrai tourner un text or un chiffre de 90° dans windows forms (sous visual studio C++ 2012)?
Merci bcp!
Apparemment, tu peux t'en sortir en dessinant le texte toi-même avec la méthode RotateTransform() de Graphics.
Vu que l'échantillon de code centre le texte, je te conseille de te faire UserControl qui dessine juste un texte pivoté...
Edit: Sinon, tu peux apparemment utiliser DrawString() avec un StringFormat qui contient le flag DirectionVertical.
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.
"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone. -- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Partager