Print Page | Close Window

how to set text as Bold

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1984
Printed Date: 02 Aug 25 at 2:05PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: how to set text as Bold
Posted By: naufymc
Subject: how to set text as Bold
Date Posted: 04 Oct 11 at 8:09AM
Hi,
 
  how to set the text as bold....,my code given below,Please help
 
      pdflb.SetTextSize(11);
      St := 'Additional Information:';
      pdflb.DrawText(X,Y,St);



Replies:
Posted By: Ingo
Date Posted: 04 Oct 11 at 10:00PM
Hi Naufy!

First AddStandardFont (or something similar) take a bold one...,
then SelectFont (the bold one from before)
and then DrawText...
and it will work ;-)

Have a look here:
http://www.quickpdflibrary.com/help/quickpdf/Text.php

Cheers, Ingo



Posted By: naufymc
Date Posted: 05 Oct 11 at 6:52AM
Hi Ingo,
 
   Thnak you so much for the kind support...it works.......
 
Regards
Naufy



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk