PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

sample to use ImageSource
https://forum.pdfsharp.net/viewtopic.php?f=2&t=4487
Page 1 of 1

Author:  christophe62 [ Thu Oct 12, 2023 9:29 am ]
Post subject:  sample to use ImageSource

I've seen many examples where the path to an image was used directly for AddImage :
Code:
.AddImage("/images/logo.jpg")


However, this no longer seems to be the case.
Can someone show me how to use ImageSource? I'm stuck :(

Attachments:
Capture d'écran 2023-10-12 112303.png
Capture d'écran 2023-10-12 112303.png [ 22.84 KiB | Viewed 3456 times ]

Author:  TH-Soft [ Thu Oct 12, 2023 9:45 am ]
Post subject:  Re: sample to use ImageSourge

christophe62 wrote:
Can someone show me how to use ImageSource? I'm stuck :(
You are not using our library.
With our library, AddImage takes a string and not an ImageSource.

Author:  christophe62 [ Thu Oct 12, 2023 9:52 am ]
Post subject:  Re: sample to use ImageSource

#facepalm

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/