Xceed Words for .NET v3.0 Documentation
ReplaceTextWithObject(ObjectReplaceTextOptions) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Container Class > ReplaceTextWithObject Method : ReplaceTextWithObject(ObjectReplaceTextOptions) Method
The options that will be used when replacing the string with an object.
Replaces all instances of a string with an object using the options set via the replaceTextOptions parameter.
Syntax
'Declaration
 
Public Overloads Overridable Function ReplaceTextWithObject( _

   ByVal replaceTextOptions As ObjectReplaceTextOptions _

) As Boolean
'Usage
 
Dim instance As Container

Dim replaceTextOptions As ObjectReplaceTextOptions

Dim value As Boolean

 

value = instance.ReplaceTextWithObject(replaceTextOptions)
public virtual bool ReplaceTextWithObject( 

   ObjectReplaceTextOptions replaceTextOptions

)

Parameters

replaceTextOptions
The options that will be used when replacing the string with an object.

Return Value

Returns true if at least one text replacement is done.
Remarks
Currently, the supported objects are PicturesTablesHyperlinks.
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
Overload List