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
Jason
NA
31
0
Trouble printing
Sep 7 2011 8:16 PM
Having trouble printing, the example I found was for FixedDocument printing, but the margins won't change when I mess with the following code...
TextBlock page1text = new TextBlock();
page1text.Text = textBox1.Text;
page1text.Margin = new Thickness(0.1, 0.1, 0.1, 0.1);
page1text.Padding = new Thickness(0.5, 0.5, 0.5, 0.5);
The left side goes off the page a bit. It's a WPF app, just trying to print a large multiline textBox.
Thanks!
Reply
Answers (
0
)
C# expiration date
Create a folder using C#