The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Dim i1 As Image = Image.FromFile("C:\Picture 002.jpg")
''Below Line Creates the Error? Dim m As IPDFImage = doc.CreatePDFImage(i1)
Dim r As New RectangleF(0, 0, doc.LastPage.DrawingWidth, doc.LastPage.DrawingHeight) doc.LastPage.Graphics.DrawImage(New Point(0, 0), m, doc.LastPage.Size, props, r)
Dim m As IPDFImage = doc.LastPage.Graphics.CreatePdfImage(i1)
fixed the Problem
>These code gives me an Error.
"Value cannot be null. Parameter name: obj"
Dim i1 As Image = Image.FromFile("C:\Picture 002.jpg")
''Below Line Creates the Error? Dim m As IPDFImage = doc.CreatePDFImage(i1)
Dim r As New RectangleF(0, 0, doc.LastPage.DrawingWidth, doc.LastPage.DrawingHeight) doc.LastPage.Graphics.DrawImage(New Point(0, 0), m, doc.LastPage.Size, props, r)