Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
  • Page:
  • 1
  • 2

TOPIC:

Windows Universal Application 9 years 7 months ago #7155

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
sorry, we not so familiar to VS2013, we shall rebuild a new project.

Please Log in or Create an account to join the conversation.

Windows Universal Application 9 years 7 months ago #7161

  • Simonenko
  • Simonenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
when approximately the build for universal app?

Please Log in or Create an account to join the conversation.

Last edit: by singh2393.

Windows Universal Application 9 years 7 months ago #7162

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
now you can try:
www.radaee.com/RDPDFLib.win8.1.rar
www.radaee.com/RDPDFLib.wp8.1.rar
there has static libraries, and dlls, and VC++ component project.
but no view demo. interfaces makes lot changes.
may need more time to build view demo.
The following user(s) said Thank You: singh2393

Please Log in or Create an account to join the conversation.

Windows Universal Application 9 years 7 months ago #7164

  • Simonenko
  • Simonenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
how add this libary to universall porable class libary(c#) in my app?

Please Log in or Create an account to join the conversation.

Windows Universal Application 9 years 7 months ago #7167

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
add exist project(RDPDFLib) to solution.
this time you has 2 projects.
and in C# project add reference, select RDPDFLib project as reference add to your C# project.

Please Log in or Create an account to join the conversation.

Windows Universal Application 9 years 7 months ago #7179

  • Simonenko
  • Simonenko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
thank you, I connect libary to my project.
but I have a problem.
I generate pdf page to a bitmap but it inverted (Y), and watermark normally seen
see on the screen
thank you, I connect libary to my project. but I have a problem. I generate pdf page to a bitmap but it inverted (Y), and watermark normally seen see on the screen
my code:
RDPDFLib.pdf.PDFMatrix pdfmatrix = new RDPDFLib.pdf.PDFMatrix(1,1,0,0);
RDPDFLib.pdf.PDFBmp bmp = new PDFBmp(width,height);
_pdfPage.RenderToBmp(bmp, pdfmatrix, false, PDF_RENDER_MODE.mode_best);
WriteableBitmap wb = bmp.Data;
Guid BitmapEncoderGuid = BitmapEncoder.JpegEncoderId;
InMemoryRandomAccessStream randomStream = new InMemoryRandomAccessStream();
BitmapEncoder encoder = await BitmapEncoder.CreateAsync(BitmapEncoderGuid, randomStream);
encoder.SetPixelData(Windows.Graphics.Imaging.BitmapPixelFormat.Bgra8,
Windows.Graphics.Imaging.BitmapAlphaMode.Straight,
(uint)width,
(uint)height,
(int)1,
(int)1,
wb.ToByteArray());
await encoder.FlushAsync();

Please Log in or Create an account to join the conversation.

Last edit: by singh2393.
  • Page:
  • 1
  • 2
Powered by Kunena Forum