TBD: Returns the number of the page to which the current C1LinkTarget points. This method may return 0 if the page cannot be resolved at this time (e.g. the document has not generated yet).

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int GetPageNo(
	C1Page currentPage,
	C1PrintDocument document
)
Visual Basic
Public Function GetPageNo ( _
	currentPage As C1Page, _
	document As C1PrintDocument _
) As Integer

Parameters

currentPage
Type: C1.C1Preview..::..C1Page
The page containing the current C1LinkTarget object, it can be null if C1LinkTarget linked with OutlineNode.
document
Type: C1.C1Preview..::..C1PrintDocument
C1PrintDocument containing the current C1LinkTarget object.

Return Value

The target page number.

See Also