We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

TextOptions New Errors 'Not defined'

Hi,

I began to compile a previously written vb.net program that adds fillable fields to a form.
But I am now getting errors that a number of Types are undefined. For instance:
the error Aspose.PDF.Text.TextOptions.TextsearchOptions is not defined comes about from
the line Dim textSearchOptions As New TextOptions.TextSearchOptions(True)

I am using Aspose PDF .NET version 18.1.0.0

I seem to be missing something simple here as a previously compiled version is running fine.
I am using Using VB.NET 2017 Framework 4.6.1 and importing:
Imports Aspose.Pdf
Imports Aspose.Pdf.Text

Thanks in advance.

Regards
Morke

@morke

Thank you for contacting support.

We would like to request you to upgrade to Aspose.PDF for .NET 18.6 because it is the latest available version at the moment and includes more features and bug fixes. Moreover, support is provided based on latest version of the API. In case the issue persists, please share a narrowed down sample application reproducing this issue so that we may investigate further to help you out.