Property Filename
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Filename
Gets or sets the full path of the file the drawing was last opened from or saved to, as AutoCAD's Filename gives the
file of a drawing: C:\Plans\plan.dxf once Open(@"C:\Plans\plan.dxf") has read it, the path of a copy
once Save(string) has written one; null for a drawing opened from a stream or a text, and not saved to
a path since. A program that writes the drawing through a stream (Save(Stream), which leaves the
path as it was) to put it in a file of its own, a temporary file swapped in when whole, sets it to the path of the
file once that is done, as a save to the path does; the folder of it is where a relative path of an external reference
is looked for from then on. OriginalFileName is not changed by it.
public string Filename { get; set; }
Property Value
Exceptions
- ArgumentException
Thrown when the value is empty or all white space; null clears it.