'Declaration Public Function RemoveTextInGivenFormat( _ ByVal formattingToMatch As Formatting, _ Optional ByVal formattingOptions As MatchFormattingOptions _ ) As Integer
'Usage Dim instance As Container Dim formattingToMatch As Formatting Dim formattingOptions As MatchFormattingOptions Dim value As Integer value = instance.RemoveTextInGivenFormat(formattingToMatch, formattingOptions)
public int RemoveTextInGivenFormat( Formatting formattingToMatch, MatchFormattingOptions formattingOptions )
Parameters
- formattingToMatch
- The formatting that the text must match in order to be removed.
- formattingOptions
- A MatchFormattingOptions value indicating how the formatting should be matched.
Return Value
The number of text occurences that were removed.