Can anyone help me with changing the font style in the middle of a text string. Some letters need to be capitalised mid-string on the fly.
Thanks
Changing font style inline
Re: Changing font style inline
Support · Feb 24, 2010Hello,
If you want to set formatting to the text you are adding to the PDF, you can do this by using the FormattedTextArea page element. You can add HTML text to it. You can refer to the supported HTML tags
on our help documentation.
If you want to capitalize some text then you can achieve this using the methods from string of the .NET. There is nothing in our product which can do this.
You may use the MyString.ToUpper() to make the total stirng to upper case letters and MyString.Replace() to replace a lower case value with an upper case value from a string. You will have to do this by using your own logic depending on your requirement.
Thanks,
ceTe Software Support Team.
Re: Changing font style inline
Forum member · Feb 24, 2010Thanks for your prompt reply. I have read the section and it does exactly what you said. So I'm pretty happy! Thanks