Table of Contents

Method UseDevice

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

UseDevice(string)

Chooses the plotter, as the Name list of the Plot dialog does. A raster device moving from the PDF one starts on 1920 by 1080 pixels, fitted, centred, with no offset and no plot style table, colours as displayed on white, colour 7 black; the PDF one moving from a raster device goes back to ISO A3 and the monochrome table. Moving between PNG and JPG keeps everything.

public void UseDevice(string name)

Parameters

name string

The plotter: PdfDevice, PngDevice or JpgDevice.

Exceptions

ArgumentException

Thrown when the name is none of the three.