In a WinRT app, i can create a word file with some information filled by the user, but i also want to create a copy but as PDF(save another file with my app, not convert docx. to pdf with external software)
Any straight forward way of doing this?
You can check out a WinRT Commercial SDK that has the ability to save out PDF files such as the LEADTOOLS WinRT SDK. This SDK gives you the ability to easily save a file out as a PDF as well as many other formats such as :
JPEG, JPEG 2000, PNG, TIFF, PDF, & GIF
Here is some simple sample code on how to save out a file using the RasterCodecs SaveAsync class:
await codecs.SaveAsync(_originalImage, leadStream, RasterImageFormat.RasPdf, 24);
You can download a free 60-day evaluation of the SDK which includes fully sourced sample programs that show how to achieve various functionality using the SDK.
Just as a disclaimer, I am an employee of this library.