Click or drag to resize

DocumentCollectionOpen Method (String, Boolean)

Open an existing drawing file.

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract Document Open(
	string fileName,
	bool readOnly
)

Parameters

fileName
Type: SystemString
The file name of the drawing.
readOnly
Type: SystemBoolean
A value that indicates whether to open the file read-only. True to open files read-only. Otherwise false.

Return Value

Type: Document
Document representing the open drawing.
See Also