| C1.Win.C1FlexGrid Namespace > GridPrinter Class : PageCount Property |
'DeclarationPublic ReadOnly Property PageCount As Integer
'UsageDim instance As GridPrinter Dim value As Integer value = instance.PageCount
public int PageCount {get;}
The value returned is accurate only while the document is printing. Before or after a document is done printing, this property returns zero.
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