diff --git a/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage.slnx b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage.slnx new file mode 100644 index 0000000..3be04c4 --- /dev/null +++ b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage.slnx @@ -0,0 +1,3 @@ + + + diff --git a/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/App.xaml b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/App.xaml new file mode 100644 index 0000000..d1db399 --- /dev/null +++ b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/App.xaml.cs b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/App.xaml.cs new file mode 100644 index 0000000..fffafc6 --- /dev/null +++ b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/App.xaml.cs @@ -0,0 +1,14 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace Progamatic_printpage +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } + +} diff --git a/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/AssemblyInfo.cs b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/AssemblyInfo.cs new file mode 100644 index 0000000..b0ec827 --- /dev/null +++ b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/Input.pdf b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/Input.pdf new file mode 100644 index 0000000..45e5cb8 Binary files /dev/null and b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/Input.pdf differ diff --git a/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/MainWindow.xaml b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/MainWindow.xaml new file mode 100644 index 0000000..ebbeff9 --- /dev/null +++ b/Printing-Examples/programmatically-print-currentpage/Progamatic_printpage/MainWindow.xaml @@ -0,0 +1,18 @@ + + + + + + +