code_junkie

modifying a print preview

Nov 13th, 2011
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. // MyDocumentType derives from PrintDocument and ipSignature is a
  2. // user control derived from InkPicture that converts the ink to
  3. // a gif
  4. MyDocumentType doc = (MyDocumentType)ppcPreview.Document;
  5. doc.AddSignature(ipSignature.Gif);
  6. ppcPreview.Document = doc;
  7.  
  8. MyDocumentType doc = (MyDocumentType)ppcPreview.Document;
  9. doc.AddSignature(ipSignature.Gif);
  10. ppcPreview = new PrintPreviewControl();
  11. ppcPreview.Document = doc;
Add Comment
Please, Sign In to add comment