public final class ConvertedDocument extends Object implements com.aspose.ms.System.IDisposable
Class for handling converted document
Constructor and Description |
---|
ConvertedDocument(com.groupdocs.conversion.domain.IDocument document,
com.groupdocs.conversion.domain.IHandlersProvider handlersProvider,
com.groupdocs.conversion.options.save.SaveOptions saveOptions,
long elapsed) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose ConvertedDocument class
|
long |
getElapsed() |
String |
getFileType()
File type of the converted document
|
int |
getPageCount()
Pages count of the converted document
|
void |
save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream)
Save converted document to stream
|
void |
save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream,
int page)
Save specific page from converted document to stream
|
String |
save(String fileName)
Save converted document to custom named file
|
String |
save(String fileName,
Integer page)
Save specific page from converted document to custom named file
|
public ConvertedDocument(com.groupdocs.conversion.domain.IDocument document, com.groupdocs.conversion.domain.IHandlersProvider handlersProvider, com.groupdocs.conversion.options.save.SaveOptions saveOptions, long elapsed)
public void dispose()
Dispose ConvertedDocument class
dispose
in interface com.aspose.ms.System.IDisposable
public void save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream)
Save converted document to stream
stream
- public void save(com.groupdocs.foundation.utils.wrapper.stream.GroupDocsOutputStream stream, int page)
Save specific page from converted document to stream
stream
- page
- public String save(String fileName)
Save converted document to custom named file
fileName
- public String save(String fileName, Integer page)
Save specific page from converted document to custom named file
fileName
- page
- public String getFileType()
File type of the converted document
public int getPageCount()
Pages count of the converted document
public long getElapsed()
Copyright © 2019. All rights reserved.