java.lang.Objectcom.aspose.words.PageSavingArgs
public class PageSavingArgs
Constructor Summary |
---|
PageSavingArgs()
|
Property Getters/Setters Summary | ||
---|---|---|
boolean | getKeepPageStreamOpen() | |
void | setKeepPageStreamOpen(boolean value) | |
Specifies whether Aspose.Words should keep the stream open or close it after saving a document page. | ||
java.lang.String | getPageFileName() | |
void | setPageFileName(java.lang.String value) | |
Gets or sets the file name where the document page will be saved to. | ||
int | getPageIndex() | |
Current page index. | ||
System.IO.Stream | getPageStream() | |
Allows to specify the stream where the document page will be saved to. |
Constructor Detail |
---|
public PageSavingArgs()
Property Getters/Setters Detail |
---|
getKeepPageStreamOpen/setKeepPageStreamOpen | |
public boolean getKeepPageStreamOpen() / public void setKeepPageStreamOpen(boolean value) |
Default is false
and Aspose.Words will close the stream you provided
in the true
to keep the stream open.
getPageFileName/setPageFileName | |
public java.lang.String getPageFileName() / public void setPageFileName(java.lang.String value) |
getPageIndex | |
public int getPageIndex() |
getPageStream | |
public System.IO.Stream getPageStream() |
This property allows you to save document pages to streams instead of files.
The default value is null
. When this property is null
, the document page
will be saved to a file specified in the
If both PageStream and PageFileName are set, then PageStream will be used.