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
    Friday, July 16, 2010 3:13 PM