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
divyashreenivasangm
NA
20
15.5k
infragistics alingnments
Aug 22 2014 3:15 AM
for (int index = 0; index < PrintObjs.Count; index++)
{
Infragistics.Documents.Reports.Report.Table.ITable bandTable = band.AddTable();
Infragistics.Documents.Reports.Report.Table.ITableCell bandTableCell = bandTable.AddRow().AddCell();
Infragistics.Documents.Reports.Report.Text.IText bandText = bandTableCell.AddText();
String textPrinted = PrintObjs[index].Content.ToString();
if (PrintObjs[index].ContentHorizontalAlignment == System.Windows.HorizontalAlignment.Right)
bandText.Alignment.Horizontal = Infragistics.Documents.Reports.Report.Alignment.Right;
else if (PrintObjs[index].ContentHorizontalAlignment == System.Windows.HorizontalAlignment.Center)
bandText.Alignment.Horizontal = Infragistics.Documents.Reports.Report.Alignment.Center;
else
bandText.Alignment.Horizontal = Infragistics.Documents.Reports.Report.Alignment.Left;
}
I need to add two lines with different alignments(Left and Right) inside a same cell.How to implement that in infragistics?
Reply
Answers (
0
)
Format exception was unhandled by user code ; why getting th
save and retrive data from local database