PageCollection.IndexOf

PageCollection.IndexOf method

Returns index of the specified page.

public int IndexOf(Page entity)
ParameterTypeDescription
entityPagePage object. Pages numbers start from 1.

Return Value

Index of the page in collection.

Remarks

Pages numbers start from 1. Returns 0 in case collection doesn’t contain the page.

See Also