Can you print the contents of a SwapChainPanel? RRS feed

  • Question

  • My app uses a SwapChainPanel to render part of its content. When printing, the preview image and what gets printed show everything correctly except for the SwapChainPanel.

    Is there any restriction imposed on printing the contents of a SwapChainPanel?

    Wednesday, June 11, 2014 6:42 AM


  • The SwapChainPanel renders only to the screen. To print you will need to have your DX code render to a bitmap and then include that in your printing tree. Take a look at the DirectX Toolkit for help on saving the DX surface to a bitmap.
    • Marked as answer by _Taocoyote_ Wednesday, June 11, 2014 7:31 PM
    Wednesday, June 11, 2014 2:28 PM