Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - superscript and normal text mixing
  FAQ FAQ  Forum Search   Register Register  Login Login

superscript and normal text mixing

 Post Reply Post Reply
Author
Message
FredericP View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Jun 17
Location: France
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote FredericP Quote  Post ReplyReply Direct Link To This Post Topic: superscript and normal text mixing
    Posted: 25 Jun 19 at 2:20PM
Hi everyone,

I have to draw, in a specific rectangle, some text with superscript caracters inside.

"This is my 2nd test"  : "nd" should be superscrited

I currently use DrawTextBox or DrawRotatedTextBox and I don't know how can I achieve that goal...
A simple option could be to use DrawHTMLTextBox but with this function, I can't set the vertical aligment if I am right.

Do you have suggestions ? Lamp
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3029
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 25 Jun 19 at 9:54PM
No Frederic... no more suggestions.
You've yourself Draw... and DrawHtml... that's all.

Cheers,
Ingo

Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 392
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 28 Jun 19 at 5:24AM
https://www.debenu.com/docs/pdf_library_reference/AppendixA.php

Func _Example()
......
Local $sHTMLText = '<p align="justified"><strong>2<sup>nd</sup></strong></p>'
$oQPDF.DrawHTMLText(100,20,180,$sHTMLText)
......
EndFunc


Edited by mLipok - 28 Jun 19 at 5:25AM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
FredericP View Drop Down
Beginner
Beginner
Avatar

Joined: 20 Jun 17
Location: France
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote FredericP Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jul 19 at 11:05AM
Thanks for your replies, I will try to find some tricks...
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store