c# Programming Glossary: printaction
How to find the actual printable area? (PrintDocument) http://stackoverflow.com/questions/8761633/how-to-find-the-actual-printable-area-printdocument soft margins defaults to 1 from page edges . PrintAction printAction PrintAction.PrintToFile private void printDocument_BeginPrint.. we know if we are printing a preview or a real document. printAction e.PrintAction Set some preferences our method should print a.. for preview to reflect the printer's hard margins. if printAction PrintAction.PrintToPreview g.TranslateTransform printableArea.X..
|