public class PageSavingArgs
extends java.lang.Object
IPageSavingCallback.pageSaving(com.aspose.words.PageSavingArgs) event.
To learn more, visit the Programming with Documents documentation article.
| Modifier and Type | Method and Description |
|---|---|
boolean |
getKeepPageStreamOpen()
Specifies whether Aspose.Words should keep the stream open or close it after saving a document page.
|
java.lang.String |
getPageFileName()
Gets the file name where the document page will be saved to.
|
int |
getPageIndex()
Current page index.
|
java.io.OutputStream |
getPageStream() |
void |
setKeepPageStreamOpen(boolean value)
Specifies whether Aspose.Words should keep the stream open or close it after saving a document page.
|
void |
setPageFileName(java.lang.String value)
Sets the file name where the document page will be saved to.
|
void |
setPageStream(java.io.OutputStream value) |
public java.io.OutputStream getPageStream()
public void setPageStream(java.io.OutputStream value)
public boolean getKeepPageStreamOpen()
Default is false and Aspose.Words will close the stream you provided in the P:Aspose.Words.Saving.PageSavingArgs.PageStream property after writing a document page into it. Specify true to keep the stream open.
boolean value.public void setKeepPageStreamOpen(boolean value)
Default is false and Aspose.Words will close the stream you provided in the P:Aspose.Words.Saving.PageSavingArgs.PageStream property after writing a document page into it. Specify true to keep the stream open.
value - The corresponding boolean value.public java.lang.String getPageFileName()
public void setPageFileName(java.lang.String value)
value - The file name where the document page will be saved to.public int getPageIndex()
int value.