Method Preview
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Preview(CadDocument, CadDataLinkSettings)
Reads what a data link's settings link, for the dialog's preview and for the checks of Create(CadDocument, CadDataLinkSettings).
public static CadSheet Preview(CadDocument document, CadDataLinkSettings settings)
Parameters
documentCadDocumentThe document, whose folder a relative path is of.
settingsCadDataLinkSettingsThe settings.
Returns
- CadSheet
The cells, from the first of the range.
Exceptions
- ArgumentNullException
Thrown when the document or the settings are null.
- CadDataSourceException
Thrown when the source cannot be read.