C# sample for COMPDF_PrintGetDEVMODE

  • Can you post an example that shows how I can use COMPDF_PrintGetDEVMODE in C# ?

    I have found the DELPHI example - but DELPHI is a strange world for ME ;-(

    I would like to access hDevMode in C# like in the delphi snipplet below

    hDevMode: HGLOBAL;
    hDevMode := fViewer.Command(COMPDF_PrintGetDEVMODE);
    //now work with hDevMode ...

    Please help me with this topic !!

    Regards
    Gerhard