When I call NotesDXLExporterClass.Export
on a NotesDocumentClass
object that has a very large attachment, I get a System.Runtime.InteropServices.COMException: 'Out of memory'
exception.
I was hoping to resolve this by setting NotesDXLExporter.OmitRichtextAttachments
to true
, but it looks like this property is not available through COM (1).
What are my options here to get around this issue?
(1) Differences between accessing Domino Objects through either LotusScript or COM
Note 4: NotesXMLProcessor
is not implemented in COM. NotesDXLExporter
and NotesDXLImporter
implement ExitOnFirstFatalError
, Log
, and LogComment
, rather than inheriting them. )
Edit:
When I open C:\Program Files (x86)\IBM\Lotus\Notes\domobj.tlb
in Oleview.exe
and look at the NotesDXLExporterClass
interface I only see the following:
[
uuid(29131437-2EED-1069-BF5D-00DD011186B7)
]
dispinterface NOTESDXLEXPORTER {
properties:
[id(0x00000bf6)
]
VARIANT FORCENOTEFORMAT;
[id(0x00000bfa)
]
VARIANT OUTPUTDOCTYPE;
[id(0x00000bfb)
]
BSTR DOCTYPESYSTEM;
[id(0x00000f1e), readonly
]
BSTR LOG;
[id(0x00000f1f)
]
BSTR LOGCOMMENT;
[id(0x00000f20)
]
VARIANT EXITONFIRSTFATALERROR;
methods:
[id(0x00000f28)]
void SETINPUT(VARIANT INPUT);
[id(0x00000f29)]
void SETOUTPUT(VARIANT OUTPUT);
[id(0x00000f2a)]
void PROCESS();
};