# DocumentInfo Constructor

## Overloads

| [DocumentInfo()](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Document.DocumentInfo.-ctor.htm#PIX_QMSAPI_DataObjects_Document_DocumentInfo__ctor) |  |  |
| --- | --- | --- |
| [DocumentInfo(Boolean, Trigger)](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Document.DocumentInfo.-ctor.htm#PIX_QMSAPI_DataObjects_Document_DocumentInfo__ctor_System_Boolean_PIX_QMSAPI_DataObjects_Triggers_Trigger_) |  |  |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Document.DocumentInfo.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Document.DocumentInfo.-ctor.htm)

## DocumentInfo()

### Declaration

```

          public DocumentInfo()
    
  
```

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Document.DocumentInfo.-ctor.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Document.DocumentInfo.-ctor.htm)

## DocumentInfo(Boolean, Trigger)

### Declaration

```

          public DocumentInfo(bool allowServerObjects, Trigger trigger)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Boolean | allowServerObjects |  |
| [Trigger](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.Triggers.Trigger.htm) | trigger |  |