![]() Let renderer = UIGraphicsImageRenderer(size: pageRect.size)Ĭtx.fill(CGRect(x: 0, y: 0, width: pageRect.width, height: pageRect.height)) Fetch the page rect for the page we want to render. Paint each pages content to an image andįor (int i = 0 i < document.getNumberOfPages() i ) ("Error encryption not supported " ex) ![]() Import .GraphicsRenderingHints ĭtFile("C:\\Users\\Dell\\Desktop\\test.pdf") I use icepdf an open source java pdf engine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |