Method ImportablePageSetups
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ImportablePageSetups(string, out string)
Gets the page setups of another drawing, as Import Page Setups for Publishing lists them; the drawing is kept so that a sheet set to one of them (SetPageSetup(CadPublishSheet, string, string)) plots by it.
public IReadOnlyList<string> ImportablePageSetups(string file, out string problem)
Parameters
filestringThe drawing's file.
problemstringWhy none were listed:
Drawing not foundorDrawing failed to load: …; null where the drawing was read.
Returns
- IReadOnlyList<string>
The names in ordinal order; empty where the drawing has none or was not read.
Exceptions
- ArgumentNullException
Thrown when the file is null.