Editor
Contents
[
Hide
]
Editor(Action<Stream>, IDocumentFormat)
Initializes a new instance of the Editor
class and creates a new empty document based on the specified format.
public Editor(Action<Stream> newDocumentAction, IDocumentFormat format)
Parameter | Type | Description |
---|---|---|
newDocumentAction | Action`1 | delegate that allows saving or performing some action with a stream of the new document. |
format | IDocumentFormat | represents the file format of the document that will be created. |
Remarks
Learn more
- More about file types supported by GroupDocs.Editor: Document formats supported by GroupDocs.Editor
- More about GroupDocs.Editor for .NET features: Developer Guide
See Also
- interface IDocumentFormat
- class Editor
- namespace GroupDocs.Editor
- assembly GroupDocs.Editor
Editor(Func<Stream>)
Initializes new Editor instance with specified input document (as a stream)
public Editor(Func<Stream> document)
Parameter | Type | Description |
---|---|---|
document | Func`1 | Delegate, that should return a stream with document content. Should not be NULL. |
Remarks
Learn more
- More about file types supported by GroupDocs.Editor: Document formats supported by GroupDocs.Editor
- More about GroupDocs.Editor for .NET features: Developer Guide
See Also
- class Editor
- namespace GroupDocs.Editor
- assembly GroupDocs.Editor
Editor(Func<Stream>, Func<ILoadOptions>)
Initializes new Editor instance with specified input document (as a stream) with its load options
public Editor(Func<Stream> document, Func<ILoadOptions> loadOptions)
Parameter | Type | Description |
---|---|---|
document | Func`1 | Delegate, that should return a stream with document content. Should not be NULL. |
loadOptions | Func`1 | Delegate, that should return a document load options. May be NULL and may return null - in that case document type will be detected automatically and default load options for that type will be applied. |
Remarks
Learn more
- More about file types supported by GroupDocs.Editor: Document formats supported by GroupDocs.Editor
- More about GroupDocs.Editor for .NET features: Developer Guide
- More about how to open and edit password-protected documents and document from different storages: Load and edit documents using GroupDocs.Editor
See Also
- interface ILoadOptions
- class Editor
- namespace GroupDocs.Editor
- assembly GroupDocs.Editor
Editor(string)
Initializes new Editor instance with specified input document (as a full file path)
public Editor(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | Full path to the file. Should not be NULL. Should be valid, and file should exist. |
Remarks
Learn more
- More about file types supported by GroupDocs.Editor: Document formats supported by GroupDocs.Editor
- More about GroupDocs.Editor for .NET features: Developer Guide
See Also
- class Editor
- namespace GroupDocs.Editor
- assembly GroupDocs.Editor
Editor(string, Func<ILoadOptions>)
Initializes new Editor instance with specified input document (as a full file path) with its load options
public Editor(string filePath, Func<ILoadOptions> loadOptions)
Parameter | Type | Description |
---|---|---|
filePath | String | Full path to the file. Should not be NULL. Should be valid, and file should exist. |
loadOptions | Func`1 | Delegate, that should return a document load options. May be NULL and may return null - in that case document type will be detected automatically and default load options for that type will be applied. |
Remarks
Learn more
- More about file types supported by GroupDocs.Editor: Document formats supported by GroupDocs.Editor
- More about GroupDocs.Editor for .NET features: Developer Guide
- More about how to open and edit password-protected documents and document from different storages: Load and edit documents using GroupDocs.Editor
See Also
- interface ILoadOptions
- class Editor
- namespace GroupDocs.Editor
- assembly GroupDocs.Editor