Table of Contents

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

file string

The drawing's file.

problem string

Why none were listed: Drawing not found or Drawing 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.