## XbrlDocument class

An XBRL document which contains one or more XBRL instance.

```csharp
public class XbrlDocument
```

## Constructors

| Name | Description |
| --- | --- |
| [XbrlDocument](xbrldocument#constructor)() | Initializes a new instance of XbrlDocument class |
| [XbrlDocument](xbrldocument#constructor_1)(Stream) | Initializes a new instance of XbrlDocument class and opens it with a stream.. |
| [XbrlDocument](xbrldocument#constructor_3)(string) | Initializes a new instance of XbrlDocument class and open a file. |
| [XbrlDocument](xbrldocument#constructor_2)(Stream, LoadOptions) | Initializes a new instance of XbrlDocument class and opens it with a stream.. |
| [XbrlDocument](xbrldocument#constructor_4)(string, LoadOptions) | Initializes a new instance of XbrlDocument class and open a file. |

## Properties

| Name | Description |
| --- | --- |
| [XbrlInstances](../../aspose.finance.xbrl/xbrldocument/xbrlinstances) { get; } | Gets XBRL instance collection |

## Methods

| Name | Description |
| --- | --- |
| [Save](../../aspose.finance.xbrl/xbrldocument/save#save_1)(string) | Creates and saves the XBRL file to the disk. |
| [Save](../../aspose.finance.xbrl/xbrldocument/save#save)(Stream, SaveOptions) | Save the XbrlDocument to the stream. |
| [Save](../../aspose.finance.xbrl/xbrldocument/save#save_2)(string, SaveOptions) | Save the XbrlDocument to the disk. |

### See Also

* namespace [Aspose.Finance.Xbrl](../../aspose.finance.xbrl)
* assembly [Aspose.Finance](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Finance.dll -->
