Class PageRanges
Page ranges of a file, inclusive of start and end page index, where page index starts from 1.
Inheritance
System.Object
PageRanges
Namespace: Adobe.PDFServicesSDK.pdfjobs.parameters
Assembly: Adobe.PDFServicesSDK.Doc.dll
Syntax
public class PageRanges
Constructors
PageRanges()
Constructs a new PageRanges
instance with no pages added.
Declaration
public PageRanges()
Methods
AddAll()
Adds a page range representing all pages.
Declaration
public void AddAll()
AddAllFrom(Int32)
Adds a page range from start
page index to the last page. Page index starts from 1.
Declaration
public void AddAllFrom(int start)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | start | start page index |
AddRange(Int32, Int32)
Adds a page range. Page indexes start from 1.
Declaration
public void AddRange(int startPage, int endPage)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startPage | start page index, inclusive |
System.Int32 | endPage | end page index, inclusive |
AddSinglePage(Int32)
Adds a single page. Page index starts from 1.
Declaration
public void AddSinglePage(int page)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | page | single page index |
IsEmpty()
Used internally by this SDK, not intended to be called by clients.
Declaration
public bool IsEmpty()
Returns
Type | Description |
---|---|
System.Boolean | true/false |
ToString()
Used internally by this SDK, not intended to be called by clients.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | string representation |
Overrides
System.Object.ToString()
Validate()
Used internally by this SDK, not intended to be called by clients.
Declaration
public void Validate()