Objective This article will introduce New Printing support in Silverlight 4.0. Introduction Silverlight 4.0 add support to enable business application development. Printing support allows developer to print the Silverlight application itself. Printing support helps
private void mybutton_Click(object sender, RoutedEventArgs e)
{
PrintDocument prt = new PrintDocument();
prt.PrintPage +=(s,args) =>
args.PageVisual = txtBlcok;
};
prt.Print();
}Output On clicking of Print Button, Here you could select you Print options. Conclusion In this article, I gave a basic introduction of Printing Support in Silverlight 4.0. Thanks for reading.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: