EvotecIT / PSWritePDF

PowerShell Module to create, edit, split, merge PDF files on Windows / Linux and MacOS
GNU Affero General Public License v3.0
195 stars 21 forks source link

Improved New-PDFText + minor fix for New-PDFImage #53

Closed JosuaDoering closed 4 weeks ago

JosuaDoering commented 1 month ago

New-PDFText now allows to specify the font size and specify a margin around the text, which both is useful for adding a heading. New-PDFImage had a bug, where the object type was output, when the internal cmdlet set the width and height. I fixed that by sending it to null, which is the way, it was done in the other occassions in the script.

PrzemyslawKlys commented 1 month ago

Thank you for this. I see some code changed which hasnt been changed due to wrong formatting style. Could you try using K&R/OTBS? It should fix the braces indentation. If you're using vscode that shoud be in settings i think