←Select platform

PageCount Property (ImageViewerItem)

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 multi-page images (frames). ImageViewerPagerInteractiveMode uses the value of this property to find the maximum value when cycling through the pages of a multi-page image in an item.

For more information, refer to Image Viewer Items.

Example

For an example, refer to PageNumber.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize