|
PDFsharp - moved to http://forum.pdfsharp.net/ Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
|
Important Notice:
We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024.
If you wish to migrate to our paid hosting service, please contact billing@hostonnet.com.
View previous topic :: View next topic |
Author |
Message |
itsmemarkus
Joined: 01 Sep 2008 Posts: 1
|
Posted: Mon Sep 01, 2008 12:19 pm Post subject: Vertikal schreiben |
|
|
Ich hoffe es ist ok, wenn ich mal in Deutsch schreibe (ansonsten übersetze ich später).
Ich möchte mit PDFsharp auf der Y-Achse schreiben, hab das Dokument um 90 Grad gedreht und muss nur noch die Schreibrichtung anpassen.
Für Tipps wäre ich dankbar
PS Ich schreibe in VB.net _________________ --------------------------
http://www.wintelli.de/ |
|
Back to top |
|
|
peteratoce
Joined: 20 Feb 2007 Posts: 5
|
Posted: Fri Oct 03, 2008 10:10 am Post subject: Vertikal schreiben |
|
|
Du brauchst die Seite nicht vorab drehen. Sichere einfach den XGraphicsState, gehe zum Einfügepunkt, drehe das Koordinatensystem, schreibe den Text und setze den State zurück:
Dim mystate As XGraphicsState = gfx.Save
gfx.TranslateTransform(EinfügepunktX, EinfügepunktY)
gfx.RotateAtTransform(winkel, New XPoint(0, 0))
gfx.DrawString(tmpStr, font, XBrushes.Black, New XPoint(0, 0))
gfx.Restore(mystate)
Gruss
Peter |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|