←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 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly