Returns a System.Drawing.Graphics that contains printer information associated with the specified System.Drawing.Printing.PageSettings.
- pageSettings
- The System.Drawing.Printing.PageSettings to retrieve a graphics object for.
A System.Drawing.Graphics that contains printer information from the System.Drawing.Printing.PageSettings.
With the PrinterSettings.CreateMeasurementGraphics method, you can obtain a System.Drawing.Graphics for the printer without creating a print job. Use the System.Drawing.Graphics to make decisions on how to layout visual elements like fonts, sizes, and type styles of a complex print job.