LEADTOOLS WinRT (Leadtools.Annotations.Core)
LEAD Technologies, Inc

Pages Property


Gets or sets an array of integers that contain the pages numbers found in the file. WinRT support
Syntax
public int[] Pages {get; set;}
 get_Pages();
set_Pages(value);

Property Value

An array of integers that contain the pages numbers found in the file.
Remarks

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 pages
            var pageCount = info.get_pages().length;
            // Get the page numbers
            for (var i = 0; i < pageCount; i++) {
              var pageNumber = info.get_pages()[i];
            }
            

  

Example

For an example, refer to GetInfoAsync

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnCodecsInfo Class
AnnCodecsInfo Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.