Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFEditTextMBS class.

DynaPDFEditTextMBS.Constructor(PDF as DynaPDFMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Initializes the edit text class with the given PDF instance.

DynaPDFEditTextMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The destructor.

DynaPDFEditTextMBS.FindPattern(text as string) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Searches the text on the current PDF page for the given text.

Returns the number of occurrences.

If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.

FindPattern needs at least Lite license and ReplacePattern needs a Pro license.

Some examples using this method:

DynaPDFEditTextMBS.ReplacePattern(NewText as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DynaPDF MBS DynaPDF Plugin 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Replaces the text with a new one or deletes it if the new string is an empty string.

Use the PrepareWrite event.

If you have problems with asian characters, please make sure you use SetCMapDir and load the CMAPs.

FindPattern needs at least Lite license and ReplacePattern needs a Pro license.

Some examples using this method:

The items on this page are in the following plugins: MBS DynaPDF Plugin.


The biggest plugin in space...