The C# sample EMFExport gave the following when run
PInvokeStackImbalance was detected
Message: A call to PInvoke function 'wPDF!wPDF.wWindowsWrap::GetDC' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
followed by an OutOfMemoryException at the DrawImage call.
Is trial version of Visual C# supported?