I need C# code to add margin to exsisitng pdf
You can trim white spaces around a PDF page in order to reduce the margins. However, if you face any issue or have different requirements, please share your sample PDF along with desired resultant document. We will test the scenario in our environment and address it accordingly.
I dont want to remove i want to add margin
Please check following article to resize page content in order to set margins in percentage or untis: