forked from rocuh/PdfSharp.Xamarin
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I use the current PDFSharpCore from Nuget on Monodevelop targeting dotnet core 2.1.
My question is how to place a picture in the pdf.
Current way based on PDFSharp is:
DrawImage(graph, "whatever.gif", 730, 30, 72, 36);
public static void DrawImage(XGraphics gfx, string jpegSamplePath, int x, int y, int width, int height)
{
XImage image = XImage.FromFile(jpegSamplePath);
gfx.DrawImage(image, x, y, width, height);
}
How is this done in PDFSharpCore?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels