How can i display two pieces of text side by side with different properties
21 views
Skip to first unread message
Dylan Hughes
unread,
Jun 30, 2014, 2:47:36 PM6/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dot-net-...@googlegroups.com
I'd like to display something like this:
Printed: 6/30/2014 12:09 P
I have tried using separate cells, separate text blocks in the same cell, and changing the style between AddContent() calls and nothing seems to yield the desired effect. Any ideas?
Dylan Hughes
unread,
Jun 30, 2014, 3:53:32 PM6/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dot-net-...@googlegroups.com
Figured it out: AddContent() has an overloaded method that takes in a style with the string that let me do what i wanted to.
siberix
unread,
Jun 30, 2014, 4:16:39 PM6/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dot-net-...@googlegroups.com
Hi Dylan,
You may simply call text.AddContent multiple times passing different Siberix.Report.Text.Style objects.