MSDN > 論壇首頁 > XML Paper Specification (XPS) > how can you exclude elements from XPS?
發問發問
 

問題how can you exclude elements from XPS?

  • 2009年6月26日 下午 02:28g_sinner 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    We've got an app with a tab control and a print option that prints the contents of the tabs out to XPS.  Some of the tabs include elements like toolbars and expand/collapse buttons that we'd like to exclude from the generated XPS.  Is there a tag we can include in the XAML for elements we'd like to be excluded?  Or do we need to manually toggle visibility off, then restore to prior state after the XPS is printed?
    Thanks for any ideas!