In my research paper, to bring some evidence, I need to take screenshots of my codes. To this end, I am using Screenshot tools, e.g. Free Snipping and FastStone Capture. Also, I am increasing the pictures' DPI to 300 and producing PDF and emf formats of such pictures. However, the quality of pictures is still inadequate when they are placed into Word documents.
I am wondering how to prepare high quality pictures for research papers? especially pictures produced through screenshoting.
Thank you in advance.