TheSwamp
Code Red => .NET => Topic started by: guohq on August 10, 2021, 01:57:43 AM
-
We have to input two parameters to construct a database.
The first parameter(buildDefaultDrawing) means whether or not to build an empty object ,It's easy to understand.
The second parameter(noDocument) means specifying whether or not to associate this database to the current document.
What is the differnece between true and false of the second parameter?
-
The 'Document' is the object shown in the editor screen(tab) and the database is edited and visualised through a Document by the end user on screen. So what the true/false parameter means is that if you want the user to edit the database you attach it to a document, if you just want to create/edit a database (drawing) in memory (with code) then you don't need a document.
hth