TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Amit Shrivastava
NA
293
210.2k
i want to create box in pdf using c#
Oct 14 2015 5:49 AM
Hi
i want to create box in header row in PDF like that and i had write code
PdfPTable ClaimaintHeader = new PdfPTable(3);
PdfPCell OurReferenceHeader = new PdfPCell(new Phrase("Our Ref", _font10BoldBlack));
PdfPCell Claimant = new PdfPCell(new Phrase("Claimant", _font10BoldBlack));
PdfPCell ClaiminigFor = new PdfPCell(new Phrase("Claiming For", _font10BoldBlack));
OurReferenceHeader.BorderColor = iTextSharp.text.BaseColor.BLACK;
Claimant.BorderColor = iTextSharp.text.BaseColor.BLACK;
ClaiminigFor.BorderColor = iTextSharp.text.BaseColor.BLACK;
OurReferenceHeader.BackgroundColor = new iTextSharp.text.BaseColor(System.Drawing.Color.LightGray);
Claimant.BackgroundColor = new iTextSharp.text.BaseColor(System.Drawing.Color.LightGray);
ClaiminigFor.BackgroundColor = new iTextSharp.text.BaseColor(System.Drawing.Color.LightGray);
OurReferenceHeader.HorizontalAlignment = Element.ALIGN_LEFT;
Claimant.HorizontalAlignment = Element.ALIGN_LEFT;
ClaiminigFor.HorizontalAlignment = Element.ALIGN_LEFT;
Reply
Answers (
1
)
to send mail in office outlook using
Display values in Gridview