Class CadDrawingPropertiesRequest
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The Drawing Properties dialog of DWGPROPS, as data its command and the window share. The Summary tab's texts and the custom properties are the drawing's SummaryInfo as the dialog has them, written back on OK as one undo step; the General tab (the file) and the Statistics tab (made, saved, edited) are shown as text and never written. A drawing of R2004 or later keeps the properties in its header, an older one in its DWGPROPS record, as AutoCAD saves them, and a DWG written by the presenter keeps them too.
public sealed class CadDrawingPropertiesRequest
- Inheritance
-
CadDrawingPropertiesRequest
- Inherited Members
Properties
- Action
Gets or sets what the dialog was closed with; Cancel until set.
- Author
Gets or sets the author (Summary tab).
- Comments
Gets or sets the comments (Summary tab); one line, as a group of DXF holds one.
- CustomProperties
Gets the custom properties (Custom tab), each a name and a value in the order the drawing keeps them. Rows with no name and no value are left out on OK; a name two rows share, letters of either case the same, is refused.
- FileName
Gets the name of the file without its folder, or "Drawing" where the drawing has none.
- General
Gets the rows of the General tab: Type, Location, Size, Created, Modified and Accessed of the file, as the file system gives them; Type alone where the drawing has no file yet.
- HyperlinkBase
Gets or sets the base of the drawing's relative hyperlinks (Summary tab).
- IsHidden
Gets whether the file is hidden (the General tab's check box, greyed); false where there is no file.
- IsReadOnly
Gets whether the file is read-only (the General tab's check box, greyed); false where there is no file.
- Keywords
Gets or sets the keywords (Summary tab).
- Statistics
Gets the rows of the Statistics tab: Created, Modified, Last saved by, Revision number and Total editing time, from the header (
$TDCREATE,$TDUPDATE,$TDINDWG) and the properties; a date the header lacks is empty.
- Subject
Gets or sets the subject (Summary tab).
- Title
Gets or sets the title (Summary tab).
- WindowTitle
Gets the title of the window: the name of the file and "Properties", as AutoCAD writes
Plan.dwg Properties.
Methods
- TryBuild(out DxfDatabaseSummaryInfo, out string)
Makes the properties the dialog stands for: the texts and custom properties as they are now, the drawing's last-saved-by and revision number kept as they were.