Method Lines
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Lines(CadDocument, CadSpace, CadPlotSettings, CadPlotPage, DateTime, string)
The words of the stamp for a plot, in the order AutoCAD stamps them: the drawing, the layout, the date and time, the login name, the plotter, the sheet, the scale, then the two fields of the user's own that are not empty. One line where SingleLine, the fields set apart by two spaces; else a line of each.
public IReadOnlyList<string> Lines(CadDocument document, CadSpace space, CadPlotSettings settings, CadPlotPage page, DateTime when, string login)
Parameters
documentCadDocumentThe document plotted.
spaceCadSpaceThe space plotted.
settingsCadPlotSettingsHow it is plotted: its plotter and sheet.
pageCadPlotPageThe plot laid on its sheet, for its scale.
whenDateTimeWhen the plot is made.
loginstringThe login name of the user.
Returns
- IReadOnlyList<string>
The lines; none where no field is on.
Exceptions
- ArgumentNullException
Thrown when the document, the space, the settings or the page are null.