DirectX Printing RRS feed

  • Question

  • I am using DirectX9 on a C++ .net app. I would like to print hardcopies of the 3D images that are created. Is there an example somewhere?

    I have only gotten as far as finding the 3D surface.

    void Window3D::OnPrintPage(System::Object^  sender, System::Drawing::Printing::PrintPageEventArgs^  e) 


      IDirect3DSurface9* pSurface=nullptr;


      System::Drawing::Graphics^g = e->Graphics;

      // g->DrawImage(pSurface,0,0);  not supported

    • Moved by SamAgain Friday, July 16, 2010 4:52 AM (From:.NET Base Class Library)
    Thursday, July 15, 2010 4:40 PM


  • Hi,

      Thanks for your post. This question would be better responded at the XNA forums.

    Please mark the right answer at right time.
    • Marked as answer by RudyS Tuesday, March 6, 2012 9:33 PM
    Friday, July 16, 2010 4:52 AM