Click here to Skip to main content
15,905,785 members
Home / Discussions / C#
   

C#

 
QuestionMarco Tulio Pin
Member 1063696630-Sep-14 5:56
Member 1063696630-Sep-14 5:56 
GeneralRe: Marco Tulio Pin
PIEBALDconsult30-Sep-14 5:59
mvePIEBALDconsult30-Sep-14 5:59 
AnswerRe: Marco Tulio Pin
Richard Deeming30-Sep-14 7:48
mveRichard Deeming30-Sep-14 7:48 
GeneralRe: Marco Tulio Pin
Richard MacCutchan30-Sep-14 21:07
mveRichard MacCutchan30-Sep-14 21:07 
GeneralRe: Marco Tulio Pin
Richard Deeming1-Oct-14 1:31
mveRichard Deeming1-Oct-14 1:31 
Questionissue with moving a control Pin
Member 1112014730-Sep-14 0:21
Member 1112014730-Sep-14 0:21 
AnswerRe: issue with moving a control Pin
BillWoodruff30-Sep-14 1:44
professionalBillWoodruff30-Sep-14 1:44 
GeneralRe: issue with moving a control Pin
Member 1112014730-Sep-14 3:56
Member 1112014730-Sep-14 3:56 
Questioncan someone help me Pin
babarkhalid30-Sep-14 0:18
babarkhalid30-Sep-14 0:18 
AnswerRe: can someone help me Pin
Pete O'Hanlon30-Sep-14 0:27
mvePete O'Hanlon30-Sep-14 0:27 
GeneralRe: can someone help me Pin
babarkhalid30-Sep-14 2:04
babarkhalid30-Sep-14 2:04 
QuestionSQL Transaction Exception Pin
Zeyad Jalil29-Sep-14 23:17
professionalZeyad Jalil29-Sep-14 23:17 
AnswerRe: SQL Transaction Exception Pin
Simon_Whale29-Sep-14 23:28
Simon_Whale29-Sep-14 23:28 
JokeMessage Closed Pin
30-Sep-14 1:26
BHARAT70330-Sep-14 1:26 
GeneralRe: SQL Transaction Exception Pin
Dave Kreskowiak30-Sep-14 2:39
mveDave Kreskowiak30-Sep-14 2:39 
AnswerRe: SQL Transaction Exception Pin
Kornfeld Eliyahu Peter29-Sep-14 23:39
professionalKornfeld Eliyahu Peter29-Sep-14 23:39 
AnswerRe: SQL Transaction Exception Pin
Dilan Shaminda30-Sep-14 21:13
professionalDilan Shaminda30-Sep-14 21:13 
QuestionRelationship DataTable and DataReader ? Pin
Member 245846729-Sep-14 16:54
Member 245846729-Sep-14 16:54 
GeneralRe: Relationship DataTable and DataReader ? Pin
PIEBALDconsult29-Sep-14 18:09
mvePIEBALDconsult29-Sep-14 18:09 
QuestionC# .net Pin
abdul rafi29-Sep-14 1:57
abdul rafi29-Sep-14 1:57 
AnswerRe: C# .net Pin
Eddy Vluggen29-Sep-14 2:18
professionalEddy Vluggen29-Sep-14 2:18 
AnswerRe: C# .net Pin
BillWoodruff29-Sep-14 3:14
professionalBillWoodruff29-Sep-14 3:14 
I'd guess you are screwing up the call by omitting the Font Family Name, and or scrambling the order of the parameters. Here's what a "good" call to create a font looks like:

font = new iTextSharp.text.Font(iTextSharp.text.Font.FontFamily.HELVETICA, 6, iTextSharp.text.Font.BOLD, iTextSharp.text.BaseColor.WHITE);

I suggest you read this: [^] to understand using Fonts in iTextSharp:

"iText is written in Java, which means it's platform-independent. It ships with 14 AFM files containing the metrics of the 14 Standard Type 1 fonts (4 flavors of Helvetica, 4 flavors of Times Roman, 4 flavors of Courier, Symbol and ZapfDingbats).

As soon as you need other fonts, you need to register the font files by passing the path to the font directory or the path to an actual font."
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant

QuestionWPF and HTML Rendering Pin
upksinghm29-Sep-14 1:55
upksinghm29-Sep-14 1:55 
AnswerRe: WPF and HTML Rendering Pin
Eddy Vluggen29-Sep-14 2:15
professionalEddy Vluggen29-Sep-14 2:15 
GeneralRe: WPF and HTML Rendering Pin
upksinghm9-Oct-14 22:56
upksinghm9-Oct-14 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.