Document.Document
Document(Stream)
Initialize new Document instance from the input stream.
public Document(Stream input)
Parameter | Type | Description |
---|---|---|
input | Stream | Stream with pdf document. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(Stream, bool)
Initialize new Document instance from the input stream.
public Document(Stream input, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
input | Stream | Stream with pdf document. |
isManagedStream | Boolean | if set to true inner stream is closed before exit; otherwise, is not. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(Stream, string)
Initialize new Document instance from the input stream.
public Document(Stream input, string password)
Parameter | Type | Description |
---|---|---|
input | Stream | Input stream object, corresponding pdf is password protected. |
password | String | User or owner password. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(Stream, string, bool)
Initialize new Document instance from the input stream.
public Document(Stream input, string password, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
input | Stream | Stream with pdf document. |
password | String | User or owner password. |
isManagedStream | Boolean | If set to true inner stream is closed before exit; otherwise, is not. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(string)
Just init Document using filename. The same as Document
.
public Document(string filename)
Parameter | Type | Description |
---|---|---|
filename | String | The name of the pdf document file. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(string, bool)
Just init Document using filename. The same as Document
.
public Document(string filename, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
filename | String | The name of the pdf document file. |
isManagedStream | Boolean | If set to true inner stream is closed before exit; otherwise, is not. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(string, string)
Initializes new instance of the Document
class for working with encrypted document.
public Document(string filename, string password)
Parameter | Type | Description |
---|---|---|
filename | String | Document file name. |
password | String | User or owner password. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(string, string, bool)
Initializes new instance of the Document
class for working with encrypted document.
public Document(string filename, string password, bool isManagedStream)
Parameter | Type | Description |
---|---|---|
filename | String | Document file name. |
password | String | User or owner password. |
isManagedStream | Boolean | if set to true inner stream is closed before exit; otherwise, is not. |
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document()
Initializes empty document.
public Document()
See Also
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(PdfVersion)
Initializes empty document by version.
public Document(PdfVersion version)
Parameter | Type | Description |
---|---|---|
version | PdfVersion | The PDF version. |
See Also
- enum PdfVersion
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(string, LoadOptions)
Opens an existing document from a file providing necessary converting options to get pdf document.
public Document(string filename, LoadOptions options)
Parameter | Type | Description |
---|---|---|
filename | String | Input file to convert into pdf document. |
options | LoadOptions | Represents properties for converting filename into pdf document. |
See Also
- class LoadOptions
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF
Document(Stream, LoadOptions)
Opens an existing document from a stream providing necessary converting to get pdf document.
public Document(Stream input, LoadOptions options)
Parameter | Type | Description |
---|---|---|
input | Stream | Input stream to convert into pdf document. |
options | LoadOptions | Represents properties for converting input into pdf document. |
See Also
- class LoadOptions
- class Document
- namespace Aspose.Pdf
- assembly Aspose.PDF