Xceed Words for .NET v3.0 Documentation
RemoveTextInGivenFormat Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Container Class : RemoveTextInGivenFormat Method
The formatting that the text must match in order to be removed.
MatchFormattingOptions value indicating how the formatting should be matched.
Removes all text occurences that match the provided format.
Syntax
'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
MatchFormattingOptions value indicating how the formatting should be matched.

Return Value

The number of text occurences that were removed.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Container Class
Container Members