[]
Searches for a specified text on the current page and sets its rendering attributes.
Note that the search results may be affected by the current value of RecognitionAlgorithm.
public void SetTextRenderingAttrs(FindTextParams findTextParams, TextRenderingAttrs attrs)
| Type | Name | Description |
|---|---|---|
| FindTextParams | findTextParams | The text to search for. |
| TextRenderingAttrs | attrs | The rendering attributes to apply to the found text. |
Sets the rendering attributes for a specified text fragment on the current page.
public void SetTextRenderingAttrs(ViewState viewState, TextMapFragment fragment, TextRenderingAttrs attrs)
| Type | Name | Description |
|---|---|---|
| ViewState | viewState | The ViewState used to determine what document content should be taken into account. |
| TextMapFragment | fragment | The text fragment. |
| TextRenderingAttrs | attrs | The rendering attributes to apply to the specified fragment. |
Sets the rendering attributes for a specified text fragment on the current page.
public void SetTextRenderingAttrs(TextMapFragment fragment, TextRenderingAttrs attrs)
| Type | Name | Description |
|---|---|---|
| TextMapFragment | fragment | The text fragment. |
| TextRenderingAttrs | attrs | The rendering attributes to apply to the specified fragment. |