Table of Contents

Property LayoutName

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

LayoutName

Gets or sets the name of the layout (group 1 of AcDbLayout), as AutoCAD's LayoutName: Model, Layout1; empty for a layout made in code and not named yet.

public string LayoutName { get; set; }

Property Value

string

Set on a layout made in code, before it is added; on a layout of a drawing, the record's name and the entry of the layout dictionary renamed. The name it has changes nothing.

Exceptions

ArgumentNullException

Thrown when the name set is null.

ArgumentException

Thrown when the name set is one AutoCAD does not take, or another layout has it, letters of either case the same.

InvalidOperationException

Thrown when the layout is Model, which AutoCAD does not rename, or is erased.