The issue is, that the second call(s) to ReplaceImage after the PrintOut()-Call are done before the First Replacement and Print is done.
OK, I use BackgroundPrintingStatus property to wait the method PrintOut() done. It works. This is my test code:
void Cs_VSTO_Replace_Images_in_Document_before_and_after_PrintOut()
{
string f = @"X:\t.docx"
string fPrint =
…
Top comments (0)