Method CurrentPageSetupName
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CurrentPageSetupName(CadDocument, CadSpace)
Gets the name of the page setup a space is set to, as the Page Setup Manager shows it as the current one: the name its LAYOUT keeps (group 1) where the drawing has a page setup of it, written by SetCurrentPageSetup(CadDocument, CadSpace, string).
public static string CurrentPageSetupName(CadDocument document, CadSpace space)
Parameters
documentCadDocumentThe document.
spaceCadSpaceThe space.
Returns
- string
The page setup's name as the drawing spells it; empty where the space is set to none.
Exceptions
- ArgumentNullException
Thrown when the document or the space is null.