Method UseMillimetreSheet
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
UseMillimetreSheet(DxfDatabase)
Sets up the layouts of a drawing as AutoCAD's acadiso.dwt has Layout1: a sheet of ISO A3 on its side, 420 by 297 millimetres with margins of 5 (Default), the paper in millimetres and the layout as the plot area. The library's new drawing leaves a layout with the paper in inches and no sheet (0 by 0), which reads as 25.4 millimetres to the unit and has nothing to plot on. Model space and the names of the layouts are left alone; so is a drawing read from a file, which is not given to this method.
public static void UseMillimetreSheet(DxfDatabase database)
Parameters
databaseDxfDatabaseThe drawing, a new one.
Exceptions
- ArgumentNullException
Thrown when the drawing is null.