Aspose::Cells::Drawing::ShapeCollection::Find method

ShapeCollection::Find(const U16String&, int32_t, const FindOptions&) method

Find shape by text.

int32_t Aspose::Cells::Drawing::ShapeCollection::Find(const U16String &what, int32_t previous, const FindOptions &findOptions)
ParameterTypeDescription
whatconst U16String&The text to search for.
previousint32_tThe index of previous shape contains same text. -1 if searching from the start.
findOptionsconst FindOptions&Find options

ReturnValue

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

See Also

ShapeCollection::Find(const char16_t*, int32_t, const FindOptions&) method

Find shape by text.

int32_t Aspose::Cells::Drawing::ShapeCollection::Find(const char16_t *what, int32_t previous, const FindOptions &findOptions)
ParameterTypeDescription
whatconst char16_t*The text to search for.
previousint32_tThe index of previous shape contains same text. -1 if searching from the start.
findOptionsconst FindOptions&Find options

ReturnValue

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

See Also