ShapeCollection.Find

ShapeCollection.Find method

Find shape by text

public int Find(string what, int previous, FindOptions findOptions)
ParameterTypeDescription
whatStringThe text to search for.
previousInt32The index of previous shape contains same text. -1 if searching from the start.
findOptionsFindOptionsFind options

Return Value

The index of found shape, -1 if no shape is found.

See Also