Hi,
we are testing passing a LoadOptions instance to constructor of Document to open a PDF file; this raises exception:
WcOknr8zb0cLZ73q.png (85.5 KB)
and a result on console during execution:
WxKxcwvE0YakcFBX.png (1.4 KB)
The code is from your official examples; are we doing something wrong?
Version used: Aspose.PDF rel. 25.5
Many thanks
@gianfranco.dancelli
LoadOptions is used to load non-PDF documents into a PDF structure. The LoadOptions is an abstract class. You never have to create it directly. Instead, use its inheritances: CdrLoadOptions, DjvuLoadOptions, PclLoadOptions, PsLoadOptions, SvgLoadOptions, TeXLoadOptions, XpsLoadOptions, XslFoLoadOptions.
No code creates a LoadOptions instance directly in the official examples.