PagesSetup
Leave feedback
On this page
Inheritance: java.lang.Object
public class PagesSetup
Represents the setup for pages.
| Constructor | Description |
|---|---|
| PagesSetup() | Initializes a new instance of the PagesSetup class. |
| PagesSetup(boolean allPages, boolean firstPage, boolean lastPage, boolean oddPages, boolean evenPages, System.Collections.Generic.List |
Initializes a new instance of the PagesSetup class with specified parameters. |
| Method | Description |
|---|---|
| getAllPages() | Gets or sets a value indicating whether to include all pages. |
| setAllPages(boolean value) | Gets or sets a value indicating whether to include all pages. |
| getFirstPage() | Gets or sets a value indicating whether to include the first page. |
| setFirstPage(boolean value) | Gets or sets a value indicating whether to include the first page. |
| getLastPage() | Gets or sets a value indicating whether to include the last page. |
| setLastPage(boolean value) | Gets or sets a value indicating whether to include the last page. |
| getOddPages() | Gets or sets a value indicating whether to include odd pages. |
| setOddPages(boolean value) | Gets or sets a value indicating whether to include odd pages. |
| getEvenPages() | Gets or sets a value indicating whether to include even pages. |
| setEvenPages(boolean value) | Gets or sets a value indicating whether to include even pages. |
| getPages() | Gets or sets the list of specific page numbers to include. |
| setPages(System.Collections.Generic.List |
Gets or sets the list of specific page numbers to include. |
| getPageNumber() | Gets or sets the index of the page when considering only specified pages. |
| setPageNumber(System.Nullable |
Gets or sets the page number when considering only specified pages. |
| getSpecified() | Gets a value indicating whether any specific pages are specified. |
public PagesSetup()
Initializes a new instance of the PagesSetup class.
PagesSetup(boolean allPages, boolean firstPage, boolean lastPage, boolean oddPages, boolean evenPages, System.Collections.Generic.List pages, System.Nullable pageNumber)
public PagesSetup(boolean allPages, boolean firstPage, boolean lastPage, boolean oddPages, boolean evenPages, System.Collections.Generic.List<Integer> pages, System.Nullable<Integer> pageNumber)
Initializes a new instance of the PagesSetup class with specified parameters.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| allPages | boolean | Whether to include all pages. |
| firstPage | boolean | Whether to include the first page. |
| lastPage | boolean | Whether to include the last page. |
| oddPages | boolean | Whether to include odd pages. |
| evenPages | boolean | Whether to include even pages. |
| pages | com.aspose.ms.System.Collections.Generic.List<java.lang.Integer> | The list of specific page numbers to include. |
| pageNumber | com.aspose.ms.System.Nullable<java.lang.Integer> | The index of the current page. |
public final boolean getAllPages()
Gets or sets a value indicating whether to include all pages.
Returns: boolean
public final void setAllPages(boolean value)
Gets or sets a value indicating whether to include all pages.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getFirstPage()
Gets or sets a value indicating whether to include the first page.
Returns: boolean
public final void setFirstPage(boolean value)
Gets or sets a value indicating whether to include the first page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getLastPage()
Gets or sets a value indicating whether to include the last page.
Returns: boolean
public final void setLastPage(boolean value)
Gets or sets a value indicating whether to include the last page.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getOddPages()
Gets or sets a value indicating whether to include odd pages.
Returns: boolean
public final void setOddPages(boolean value)
Gets or sets a value indicating whether to include odd pages.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final boolean getEvenPages()
Gets or sets a value indicating whether to include even pages.
Returns: boolean
public final void setEvenPages(boolean value)
Gets or sets a value indicating whether to include even pages.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
public final System.Collections.Generic.List<Integer> getPages()
Gets or sets the list of specific page numbers to include.
Returns: com.aspose.ms.System.Collections.Generic.List<java.lang.Integer>
public final void setPages(System.Collections.Generic.List<Integer> value)
Gets or sets the list of specific page numbers to include.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | com.aspose.ms.System.Collections.Generic.List<java.lang.Integer> |
public final System.Nullable<Integer> getPageNumber()
Gets or sets the index of the page when considering only specified pages.
Returns: com.aspose.ms.System.Nullable<java.lang.Integer>
public final void setPageNumber(System.Nullable<Integer> value)
Gets or sets the page number when considering only specified pages.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | com.aspose.ms.System.Nullable<java.lang.Integer> |
public final boolean getSpecified()
Gets a value indicating whether any specific pages are specified.
Returns: boolean
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.