Method CopyFrom
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CopyFrom(DxfPlotSettings)
Copies every setting of other page settings into these, as AutoCAD's CopyFrom does, the name with them: the
plotter, the sheet and its margins, the origin and turn, what is plotted and its window, the scale, the plot style
table, the flags of centring, plot styles and lineweights, and the shade plot. What is kept is whether the settings
are those of model space (flag 1024), so that a page setup copied into the layout Model leaves it model space's. A
layout's limits follow its sheet again, as DxfLayout makes them. Copying a page setup into a layout is
AutoCAD's Set Current; copying a layout into a new page setup, its New.
public void CopyFrom(DxfPlotSettings source)
Parameters
sourceDxfPlotSettingsThe settings copied, of this drawing or another.
Exceptions
- ArgumentNullException
Thrown when the source is null.
- InvalidOperationException
Thrown when these settings or the source are in no drawing, as a page setup made in code before it is added, or are erased.