Product:pdfnet sdk
Product Version:11.7
I want to writing texts vertical (up to down) for chinese words.
my program can write chinese words horizontal,ie from left to right.but I want to write words from up to down. how to get it?
Product:pdfnet sdk
Product Version:11.7
I want to writing texts vertical (up to down) for chinese words.
my program can write chinese words horizontal,ie from left to right.but I want to write words from up to down. how to get it?
I’ll be happy to assist you on this and would like some additional information to do so. Can you tell me a bit more about your project? Are you creating a PDF and want all text in the document to be vertical, or do you only need to add some vertical text to an existing document?
For adding vertical text you could use a text widget and rotate the text as shown in this example or use Stamper to add rotated text stamp.
https://docs.apryse.com/core/samples/interactiveformstest (Example 1)
https://docs.apryse.com/core/samples/stampertest (Example 5)
Please take a look and let know if this is what you are looking for.
Thanks.
I am creating a pdf format map. maps have many place names. i want the place names text vertical writing. for example, 北京,北 locates on up. 京 locates on bottom.
PDF::Font have a function IsHorizontalMode(). It can get the font writing mode, horizontal or vertical.but how to set a font vertical.
It can get the font writing mode, horizontal or vertical.but how to set a font vertical.
You do not set the horizontal mode, this checks if the font has a vertical writing mode. Can you tell me what font you are using and share it with us if you are able?
Did you try either of the examples I sent you and found they are not what you need? If that is the case can you send me the following?
I need text showing like B. A is horizontal mode. B is vertical mode. these are shown in our software. I want to export pdf.
I need text showing like B. A is horizontal mode. B is vertical mode. these are shown in our software. I want to export pdf.
A text widget is probably not what you are looking for in this case. You can also use an ElementBuilder to add text . We have an example showing how to create a text run here: