Method UsePrinter
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
UsePrinter(string)
Chooses a printer of Windows as the plotter, as the Name list of the Plot dialog does. Moving to it from a raster device gives back ISO A3 and the monochrome table, as moving to the PDF plotter does; the sheet is then one the printer lists, which the caller sets.
public void UsePrinter(string name)
Parameters
namestringThe name Windows gives the printer, as
Microsoft Print to PDFor\print\HP LaserJet.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- ArgumentException
Thrown when the name is blank.