Closed yaroslavpaz closed 2 years ago
Duplicate of https://github.com/EvotecIT/PSWritePDF/issues/11 right?
yeah, with some nuances, that one was requested more than a year ago, no time frame yet?
Well
New-PDF -MarginLeft 20 { #520 -MarginRight 20 -MarginTop 20 -MarginBottom 20 -PageSize B4 -Rotate {
New-PDFImage -ImagePath "$PSScriptRoot\Evotec-Logo-600x190.png" -BackgroundColor Red -BackgroundColorOpacity 0.5
New-PDFText -Text 'Test ', 'Me', 'Oooh' -FontColor BLUE, YELLOW, RED
New-PDFList {
New-PDFListItem -Text 'Test'
New-PDFListItem -Text '2nd'
}
} -FilePath "$PSScriptRoot\Example09-Images01.pdf" -Show
New-PDF -MarginLeft 20 { #520 -MarginRight 20 -MarginTop 20 -MarginBottom 20 -PageSize B4 -Rotate {
New-PDFImage -ImagePath "$PSScriptRoot\Evotec-Logo-600x190.png" -BackgroundColor Red -BackgroundColorOpacity 0.5
New-PDFImage -ImagePath "$PSScriptRoot\Evotec-Logo-600x190.png"
New-PDFText -Text 'Test ', 'Me', 'Oooh' -FontColor BLUE, YELLOW, RED
New-PDFList {
New-PDFListItem -Text 'Test'
New-PDFListItem -Text '2nd'
}
} -FilePath "$PSScriptRoot\Example09-Images01.pdf" -Show
Probably needs some more options for image. Not sure if/when to release it.
Wow, That looks beautiful! Can you share me the module or add it to prerelease please?
Hi bro, got last message? please I need it bad, thanks in advance, God bless you!
Will be in next version
Hi There! When will this function be added: Add Logo Image As Header in the PDF There is currently no way to do it. Thank you! Yaro