Hi matrostik ,
Yes it is possible to Stretch the fonts (increase or
decrease the space between the characters), for this you need to make use of CharacterSpacing Property in PdfStringFormat class. I have attached a
simple sample regarding this scenario, can you please check with this and let
me know if these helps.
Sample Link:
http://www.syncfusion.com/downloads/support/directtrac/137070/FontStretch2144540965.zip
Thanks,
Karthik.
Hi matrostik,
Thank
you for your update,
It is
possible to justify the text using Alignment property of PdfStringFormat class.
I have attached a simple sample which demonstrates this, can you please check
with this and let us know if these helps.
Sample
Link:
http://www.syncfusion.com/downloads/support/directtrac/135426/Justify2070003779.zip
Thanks,
Karthik.
Hi Matrostik,
Yes, It is
possible to draw “Regular and bold text on the same line” by using PdfHTMLTextElement
class, this helps us to render HTML string in a Pdf Document. I have attached a
simple sample and online document regarding this in the below link, can you
please check with this and let us know if these helps.
Sample
Link:
http://www.syncfusion.com/downloads/support/directtrac/137190/Font_style311872371.zip
Online
Documentation Link:
http://help.syncfusion.com/ug/js/default.htm#!documents/htmlstyledtext.htm
Thanks,
Karthik.
Hi Matrostik,
Sorry for the inconvenience,
PdfHtmlTextElement class is not supported in WinRt
Platform, I have attached a simple work around sample using PdfTextElement
class which helps to get the bounds of the rendered text, by using the bounds
we can able to draw the proceeding text. Please check with this sample and let
us know if these helps.
Sample
Link:
http://www.syncfusion.com/downloads/support/directtrac/138337/ze/SinlgeLineText-1250845682
Thanks,
Karthik.