PagesSetup
Inheritance: java.lang.Object
public class PagesSetup
Represents the setup for pages.
Constructors
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. |
Methods
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 index of the page when considering only specified pages. |
getSpecified() | Gets a value indicating whether any specific pages are specified. |
PagesSetup()
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. |
getAllPages()
public final boolean getAllPages()
Gets or sets a value indicating whether to include all pages.
Returns: boolean
setAllPages(boolean value)
public final void setAllPages(boolean value)
Gets or sets a value indicating whether to include all pages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getFirstPage()
public final boolean getFirstPage()
Gets or sets a value indicating whether to include the first page.
Returns: boolean
setFirstPage(boolean value)
public final void setFirstPage(boolean value)
Gets or sets a value indicating whether to include the first page.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getLastPage()
public final boolean getLastPage()
Gets or sets a value indicating whether to include the last page.
Returns: boolean
setLastPage(boolean value)
public final void setLastPage(boolean value)
Gets or sets a value indicating whether to include the last page.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getOddPages()
public final boolean getOddPages()
Gets or sets a value indicating whether to include odd pages.
Returns: boolean
setOddPages(boolean value)
public final void setOddPages(boolean value)
Gets or sets a value indicating whether to include odd pages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getEvenPages()
public final boolean getEvenPages()
Gets or sets a value indicating whether to include even pages.
Returns: boolean
setEvenPages(boolean value)
public final void setEvenPages(boolean value)
Gets or sets a value indicating whether to include even pages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getPages()
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>
setPages(System.Collections.Generic.List value)
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> |
getPageNumber()
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>
setPageNumber(System.Nullable value)
public final void setPageNumber(System.Nullable<Integer> value)
Gets or sets the index of the page when considering only specified pages.
Parameters:
Parameter | Type | Description |
---|---|---|
value | com.aspose.ms.System.Nullable<java.lang.Integer> |
getSpecified()
public final boolean getSpecified()
Gets a value indicating whether any specific pages are specified.
Returns: boolean