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!
![]() |
how to set font styles |
Post Reply
|
| Author | |
PeterXie
Beginner
Joined: 08 Aug 12 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: how to set font stylesPosted: 09 Aug 12 at 10:44AM |
|
Hi All again,
Is it able to set the font style, such as italic, underline before drawing the text? Thanks! |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 Aug 12 at 3:42PM |
|
This is all mentioned in the reference manual. Search for 'Italic' and 'Underline'. 1. QP.AddStandardFont() - has some bold and italic fonts to choose from. 2. QP.AddTreTypeFont("Times New Roman [BoldItalic]", 1); 3. QP.SetTextUnderline(1); Underline The underline mode to use: 0 = None 1 = Single 2 = Double 3 = Strikeout 4 = Over |
|
![]() |
|
PeterXie
Beginner
Joined: 08 Aug 12 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 Aug 12 at 4:38AM |
|
Thanks to AndrewC!
I will try it. |
|
![]() |
|
isyscorp
Beginner
Joined: 30 Aug 12 Location: Philippines Status: Offline Points: 19 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 Sep 12 at 5:23PM |
|
Hi, i have the same concern of wanting to change all TEXTS FONT inside a certain PDF File into a different FONT STYLE but it should not change it's Font Size. Is this possible?
Thanks, Vid
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 Sep 12 at 1:44PM |
|
If the pdf-document is made then it's made, fixed and end.
It#s really hard stuff to change anything having to do with the content. With QP you shouldn't try it. Cheers, Ingo |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 Sep 12 at 8:14AM |
|
As Ingo says it is not easy to change fonts in a PDF document. PDF files by design, are not easy to change and were never designed to be changed.
Andrew.
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store