Open jskeet opened 2 months ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Tagging subscribers to this area: @dotnet/wpf-developers
Type of issue
Missing information
Description
The page for
XpsDocument.CreateXpsDocumentWriter
claims to have a sample for that method: "The following example shows how to use the CreateXpsDocumentWriter method in order to write an XpsDocument"... but the sample is
WordXmlSerializer.SaveToFile(fileName, flowDocument.ContentStart, flowDocument.ContentEnd)
which appears to be completely irrelevant.Possibly just some incorrect linking?
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.windows.xps.packaging.xpsdocument.createxpsdocumentwriter?view=windowsdesktop-8.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Xps.Packaging/XpsDocument.xml
Document Version Independent Id
dd3aead6-8437-6637-59c4-74234f51956f
Article author
@dotnet-bot