Returns the zero-based index of a given MasterPage.

Namespace: TallComponents.Web
Assembly: TallComponents.WebToPDF (in TallComponents.WebToPDF.dll) Version: 2.0.24.0

Syntax

C#
public int IndexOf(
	MasterPage masterPage
)
Visual Basic
Public Function IndexOf ( 
	masterPage As MasterPage
) As Integer

Parameters

masterPage
Type: TallComponents.Web..::..MasterPage
Look for this MasterPage.

Return Value

Type: Int32
The zero-based index at which the MasterPage was found, of -1 otherwise.

See Also