Gets or sets an array of integers that contain the pages numbers found in the file.
public int[] Pages { get; set; } Public Property Pages As Integer() public int[] Pages {get; set;} @property (nonatomic) NSArray* pages; public int[] getPages()public void setPages(int[] value)
get_Pages();set_Pages(value);Object.defineProperty('Pages');
public:property array<Int32>^ Pages{array<Int32>^ get()void set(array<Int32>^ value)}
An array of integers that contain the pages numbers found in the file.
If the file contains valid LEADTOOLS Annotations, the value of Pages will be an array of integers which contain the number of each page found in the file where each page is an Annotations Container.
To get the number of pages (and their values) in the file, use the following code:
// Get the number of pagesint pageCount = info.Pages.Count;// Get the page numbersfor (int i = 0; i < pageCount; i++) {int pageNumber = info.Pages[i];}
// Get the number of pagesvar pageCount = info.get_pages().length;// Get the page numbersfor (var i = 0; i < pageCount; i++) {var pageNumber = info.get_pages()[i];}
For an example, refer to GetInfo, GetInfoFromString or GetInfoAsync
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
