←Select platform

PageCount Property

Summary

Get the number of pages in Image.

Syntax
C#
VB
C++
public int PageCount { get; } 
Public ReadOnly Property PageCount() As Integer 
   Get 
public:  
   property int PageCount 
   { 
      int get() 
   } 

Property Value

The total number of pages in Image. Will return 0 if Image is null.

Remarks

This value is used since RasterImage supports multipage images (frames). ImageViewerPagerInteractiveMode uses the value of this property to find the maximum value when cycling through the pages of a multipage image in an item.

For more information, refer to Image Viewer Items.

Example

For an example, refer to PageNumber.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.