Property CurrentContext
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CurrentContext
Gets or sets the current scale, as AutoCAD's CurrentContext: the scale the annotation scale of model space
(Cannoscale, CANNOSCALE) names, which a new annotative object takes.
public DxfObjectContext CurrentContext { get; set; }
Property Value
- DxfObjectContext
Get, the scale of the list of that name; null where the list has none of it, as the empty list of a drawing of ezdxf has no 1:1. Set, a scale of this drawing's list, whose name is written into CANNOSCALE as Cannoscale writes it.
Exceptions
- ArgumentNullException
Thrown when the scale set is null.
- ArgumentException
Thrown when the scale set is not one of this drawing's list.
- InvalidOperationException
Thrown when set in a file with no variables of the OBJECTS section to hold it.