c# - How to create an image from a pdf rectangle
问题 is there a way to create an image based from pdf using rectangle? im using syncfusion pdfviewer(using the Unlimited Flat-Fee License). and this is how i create an image from pdf using c# private void ScreenCapture(string fileName, int x, int y, int width, int height) { try { if (x != 0 && y != 0 && width != 0 && height != 0) { Rectangle rect = new Rectangle(x, y, width, height); Bitmap bmp = new Bitmap(rect.Width, rect.Height, PixelFormat.Format32bppArgb); Graphics g = Graphics.FromImage(bmp)