Free Support Forum - groupdocs.com

Is AnnotationsExporter.Perform hard-coded to use the user's temp directory?


#1

This is for .NET.


Can this be changed? Ideally it would write to the same place as the storage location set by WidgetFactory.Initialize()

#2

Hello Jason,

Yes, in GroupDocs.Annotation for .NET “AnnotationsExporter.Perform” method is hard-coded to use current user’s temporary directory and it cannot be changed. The idea is to have a directory which would exist in any way and will be guaranteed accessible for read/write. “Path.GetTempPath()” has such functionality.

GroupDocs.Annotation cannot rely on storage location “WidgetFactory.Initialize” because “AnnotationsExporter.Perform” is designed to be used even if storage location is not initialized.

If you will have more questions please feel free to contact us.