itextsharp and Multiple Font types in a Table Cell
- From: "Hawksey" <Paul.Hawkes@xxxxxxxxx>
- Date: 23 Aug 2006 04:10:31 -0700
Hello
I have just started messing with the itextsharp component and was
wondering if it was possible to add two concatenated phrases each with
a different font type to a a table cell
eg
############################
Dim pdfCell As Cell
Dim phFirst As Phrase
Dim phSecond As Phrase
Dim fntNormalText As Font = FontFactory.GetFont(FontFactory.HELVETICA,
12, Font.NORMAL)
Dim fntBoldText As Font = FontFactory.GetFont(FontFactory.HELVETICA,
12, Font.BOLD)
phFirst = New Phrase(("Name:", fntBoldText)
phSecond = New Phrase(strFirstName & " " & strSurname, fntNormalText)
pdfCell = New Cell(phFirst & phSecond)
##################################
The above doesn't work, but I was hoping someone could point me in the
right direction to accomplish the task.
Many thanks
Paul
.
- Follow-Ups:
- Re: itextsharp and Multiple Font types in a Table Cell
- From: Hawksey
- Re: itextsharp and Multiple Font types in a Table Cell
- Prev by Date: user should not logged in more than one using diffferent machins on website
- Next by Date: Re: Accessiblity
- Previous by thread: user should not logged in more than one using diffferent machins on website
- Next by thread: Re: itextsharp and Multiple Font types in a Table Cell
- Index(es):
Relevant Pages
|