Creates a new Document.
            
| C# | Visual Basic | Visual C++ | 
public Document( DocumentRecord documentRecord, Configuration configuration )
Public Sub New ( _ documentRecord As DocumentRecord, _ configuration As Configuration _ )
public: Document( DocumentRecord^ documentRecord, Configuration^ configuration )
- documentRecord (DocumentRecord)
 - The data layer DocumentRecord that holds the data.
 
- configuration (Configuration)
 - The instance of the Configuration class that holds the settings to be used.