Save Print/Map QGIS composer view as PNG/PDF using Python (without changing anything

المشرف العام

Administrator
طاقم الإدارة
I have a QGIS composer/print view opened with all elements adjusted as I wish.Now I need to print/save/export this as a PNG or PDF file from Python console/Python script.

I do not want to change anything in current layout. Most examples which I found (for example: this), change a map position or size in output PDF comparing to what I see in my current composer view.I wish to receive exactly the same result as I would get when I click on Print --> Export as Image.

How can I do that? Atlas is not a solution for me.



أكثر...
 
أعلى