Package at.bestsolution.uia
Interface FindAttribute<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Allows typed implementation of FindAttribute in ITextRangeProvider
-
Method Summary
Modifier and TypeMethodDescriptionfindAttribute(boolean backward, T value) Returns a text range subset that has the specified text attribute value.
-
Method Details
-
findAttribute
Returns a text range subset that has the specified text attribute value.- Parameters:
value- The attribute value to search for. This value must match the type specified for the attribute.backward- TRUE if the last occurring text range should be returned instead of the first; otherwise FALSE.- Returns:
- Receives a pointer to the text range having a matching attribute and attribute value; otherwise NULL.
-