public class PagesSetup extends Object
Represents the setup for pages.
| Constructor and Description |
|---|
PagesSetup()
Initializes a new instance of the
PagesSetup class. |
PagesSetup(boolean allPages,
boolean firstPage,
boolean lastPage,
boolean oddPages,
boolean evenPages,
com.aspose.ms.System.Collections.Generic.List<Integer> pages,
com.aspose.ms.System.Nullable<Integer> pageNumber)
Initializes a new instance of the
PagesSetup class with specified parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllPages()
Gets or sets a value indicating whether to include all pages.
|
boolean |
getEvenPages()
Gets or sets a value indicating whether to include even pages.
|
boolean |
getFirstPage()
Gets or sets a value indicating whether to include the first page.
|
boolean |
getLastPage()
Gets or sets a value indicating whether to include the last page.
|
boolean |
getOddPages()
Gets or sets a value indicating whether to include odd pages.
|
com.aspose.ms.System.Nullable<Integer> |
getPageNumber()
Gets or sets the index of the page when considering only specified pages.
|
com.aspose.ms.System.Collections.Generic.List<Integer> |
getPages()
Gets or sets the list of specific page numbers to include.
|
boolean |
getSpecified()
Gets a value indicating whether any specific pages are specified.
|
void |
setAllPages(boolean value)
Gets or sets a value indicating whether to include all pages.
|
void |
setEvenPages(boolean value)
Gets or sets a value indicating whether to include even pages.
|
void |
setFirstPage(boolean value)
Gets or sets a value indicating whether to include the first page.
|
void |
setLastPage(boolean value)
Gets or sets a value indicating whether to include the last page.
|
void |
setOddPages(boolean value)
Gets or sets a value indicating whether to include odd pages.
|
void |
setPageNumber(com.aspose.ms.System.Nullable<Integer> value)
Gets or sets the page number when considering only specified pages.
|
void |
setPages(com.aspose.ms.System.Collections.Generic.List<Integer> value)
Gets or sets the list of specific page numbers to include.
|
public PagesSetup()
Initializes a new instance of the PagesSetup class.
public PagesSetup(boolean allPages,
boolean firstPage,
boolean lastPage,
boolean oddPages,
boolean evenPages,
com.aspose.ms.System.Collections.Generic.List<Integer> pages,
com.aspose.ms.System.Nullable<Integer> pageNumber)
Initializes a new instance of the PagesSetup class with specified parameters.
allPages - Whether to include all pages.firstPage - Whether to include the first page.lastPage - Whether to include the last page.oddPages - Whether to include odd pages.evenPages - Whether to include even pages.pages - The list of specific page numbers to include.pageNumber - The index of the current page.public final boolean getAllPages()
Gets or sets a value indicating whether to include all pages.
public final boolean getEvenPages()
Gets or sets a value indicating whether to include even pages.
public final boolean getFirstPage()
Gets or sets a value indicating whether to include the first page.
public final boolean getLastPage()
Gets or sets a value indicating whether to include the last page.
public final boolean getOddPages()
Gets or sets a value indicating whether to include odd pages.
public final com.aspose.ms.System.Nullable<Integer> getPageNumber()
Gets or sets the index of the page when considering only specified pages.
public final com.aspose.ms.System.Collections.Generic.List<Integer> getPages()
Gets or sets the list of specific page numbers to include.
public final boolean getSpecified()
Gets a value indicating whether any specific pages are specified.
public final void setAllPages(boolean value)
Gets or sets a value indicating whether to include all pages.
public final void setEvenPages(boolean value)
Gets or sets a value indicating whether to include even pages.
public final void setFirstPage(boolean value)
Gets or sets a value indicating whether to include the first page.
public final void setLastPage(boolean value)
Gets or sets a value indicating whether to include the last page.
public final void setOddPages(boolean value)
Gets or sets a value indicating whether to include odd pages.
public final void setPageNumber(com.aspose.ms.System.Nullable<Integer> value)
Gets or sets the page number when considering only specified pages.
public final void setPages(com.aspose.ms.System.Collections.Generic.List<Integer> value)
Gets or sets the list of specific page numbers to include.
Copyright © 2026. All rights reserved.