using this code I was unable to draw a JPEG using your pdf library:
auto imagePosition = imageShape->Position;
auto imageMatrix = ref new RDPDFLib::pdf::PDFMatrix(1, 1, imagePosition.X, imagePosition.Y);
auto abc = imageShape->File;
auto documentImage = document->NewImageJPEG(abc);
auto pageImage = page->AddResImage(documentImage);
document->NewImageJPEG(abc) always returns nullptr on several images. I've triple-checked that imageShape->File is always a valid path to a JPEG file.
a premium license is needed for this method and SetCache() need to be invoked.
Document doc = new Document();
doc.Open( "pdf path-name" ); //must be writeable.
doc.SetCache( "temp path-name" ); //must be writeable.
Thanks very much! I got working. I have another question though. I'd also like to render PDF documents to images. I saw there's a PDFPage::RenderToBmp method that allows this, but it's missing from the Windows Phone library. Is it possible to render PDF documents to images on Windows Phone 8.1?