I manually print and draw a document using this class, but am not sure how to write on a document Page 1 of 10, Page 2 of 10, etc.
Any ideas?
You have to count. use the class attribute to count. In addition, you must calculate the total score.
Remember that the printPage event is a call for every page!
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage.aspx
, . , . .
Source: https://habr.com/ru/post/1773049/More articles:How do you update the FX_schema.xml file in IIS 7? - xmlCross-platform paint program for web browsers and Mac devices - javascriptKomodo Edit: how to update directory tree status - komodoeditsame class, different size ...? - c ++Publishing ASP.NET 3.5 Web.config Site Sheet Empty due to providerOptions - asp.netIs the cycle running at the same speed for all systems? - c #Rails HAML engine rendering - ruby-on-railsDraw a distorted image on canvas html5 - html5Best practices for working with multiple Windows browsers and / or tabs - htmlMorphia and MongoDB - Modeling Something like settings - javaAll Articles