Answered Can we save WPF controls to SVG

  • 09 Agustus 2012 15:21
     
     

    I searched but I cannot find the answer.

    My questions is how can I save the Window to SVG images?


    Gordon Senior Software Developper

Semua Balasan

  • 10 Agustus 2012 8:16
    Moderator
     
     Jawab

    Hi Gordon999,

    Sorry for that as far as I know WPF didn't support that directly. But I found this, and in which said that we can first convert xaml to xps and then use the tool NiXPS SDK v2.6.2 to convert xps into SVG.

    About how to convert xaml control to xps, please refer to below link:http://stackoverflow.com/questions/502198/convert-wpf-xaml-control-to-xps-document

    And other information for your reference:http://stackoverflow.com/questions/946966/can-you-convert-a-xaml-drawingimage-back-into-an-svg-for-editting

    Hope it helps.

    If you have any additional questions, please feel free to let me know.

    Have a nice day.


    Annabella Luo[MSFT]
    MSDN Community Support | Feedback to us


  • 21 Agustus 2012 14:00
     
     

    Thanks Abbabella.

    So how can we capture the WPF controls and put it into word document and it will not become fussy when we enlarge and shrink the size?


    Gordon Senior Software Developper

  • 22 Agustus 2012 6:32
    Moderator
     
     

    Hi Gordon999,

    Do you mean to capture a screenshot of one control in WPF and then to copy this screenshot into a Word Document? You may need a screenshot tool or just press Ctrl+Alt+PrScrn to copy a WPF Window, and get the WPF Control you want in Paint, then to add the image you deal with into Word document.

    If I misunderstood you, please feel free to let me know.

    Have a nice day.


    Annabella Luo[MSFT]
    MSDN Community Support | Feedback to us

  • 28 Agustus 2012 10:01
    Moderator
     
     

    Hi Gordon999,

    I think we have already resolved the original question you post here, so I'd like to close this thread.

    If you have any concerns, please feel free to let me know.

    If you have any new questions, please open a new thread for them.

    Thank you.

    Have a nice day.


    Annabella Luo[MSFT]
    MSDN Community Support | Feedback to us