Property PlotPaperUnits
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
PlotPaperUnits
Gets or sets the units the sheet is set out in (group 72), as AutoCAD's PlotPaperUnits; inches where it gives none.
public DxfPlotPaperUnit PlotPaperUnits { get; set; }
Property Value
- DxfPlotPaperUnit
Set, as AutoCAD's
PlotSettingsValidator.SetPlotPaperUnitssets it; the sizes, margins and origin stay in millimetres, as the file writes them, and a layout's Limits are given in the units set: the layout of A3 on its side set to inches has limits (-0.295, -0.787) to (16.240, 10.906), to three places. The units it has change nothing.
Exceptions
- ArgumentException
Thrown when the units set are none of DxfPlotPaperUnit.
- InvalidOperationException
Thrown when the settings are in no drawing, as a layout made in code before it is added, or are erased.