[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.Model3DViewCollection.IndexByName

IndexByName Method

IndexByName(string)

Returns the zero-based index of the first Model3DView in this collection whose Name equals the specified name, if Name is empty then UIName is used.

Declaration
public int IndexByName(string name)
Public Function IndexByName(name As String) As Integer
Parameters
Type Name Description
string name

The name of the view to locate.

Returns
Type Description
int

The zero-based index of the first occurrence of a view with the specified name if found; otherwise, -1.

Remarks

Comparison is ordinal and case-sensitive. If name is null or empty, the method returns -1.