[]
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)
Public Sub SetTextRenderingAttrs(findTextParams As FindTextParams, attrs As TextRenderingAttrs)
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)
Public Sub SetTextRenderingAttrs(viewState As ViewState, fragment As TextMapFragment, attrs As TextRenderingAttrs)
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)
Public Sub SetTextRenderingAttrs(fragment As TextMapFragment, attrs As TextRenderingAttrs)
Type | Name | Description |
---|---|---|
TextMapFragment | fragment | The text fragment. |
TextRenderingAttrs | attrs | The rendering attributes to apply to the specified fragment. |