Searches for the specified Layer in the LayerCollection.

Namespace: TallComponents.PDF.Rasterizer
Assembly: TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.76.0

Syntax

C#
public int IndexOf(
	Layer layer
)
Visual Basic
Public Function IndexOf ( _
	layer As Layer _
) As Integer

Parameters

layer
Type: TallComponents.PDF.Rasterizer..::..Layer
The Layer to locate in the LayerCollection.

Return Value

The zero-based index at which the Layer is found, -1 if not found.

See Also