This document is archived and information here might be outdated.  Recommended version.


IPrintAndExport.PageCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IPrintAndExport.PageCount Property

The data driven pages count.

[Visual Basic .NET]
Public Function get_PageCount ( _
    ByVal ActiveView As IActiveView _
) As Integer
[C#]
public int get_PageCount (
    IActiveView ActiveView
);
[C++]
HRESULT get_PageCount(
  IActiveView* ActiveView,
  long* pPageCount
);
[C++]

Parameters ActiveView [in]
ActiveView is a parameter of type IActiveView pPageCount [out, retval] pPageCount is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IPrintAndExport Interface