When loading creating a PDF from a GDI+ image, the conversion is not working correctly. The picture only has some of the text drawn, but most is solid black in color. See the code below:
System.IO.MemoryStream mstream = new System.IO.MemoryStream();
System.Drawing.Bitmap myBMP = new Bitmap(500, 1000);
System.Drawing.Image image = myBMP;
Graphics gr = Graphics.FromImage(image);
// use gr to draw on surface
Pdf pdf1 = new Pdf();
Section sec1 = new Section(pdf1);
Aspose.Pdf.Image image1 = new Aspose.Pdf.Image(sec1);
image1.ImageInfo.ImageFileType = ImageFileType.MemoryBmp;
image1.ImageInfo.OpenType = ImageOpenType.Memory;
image1.ImageScale = 1F; //0.5F;
System.IO.BinaryReader reader = new System.IO.BinaryReader(mstream);
mstream.Position = 0;
image1.ImageInfo.MemoryData = reader.ReadBytes((int)mstream.Length);
byte buf = new byte;
MemoryStream st = new MemoryStream();
buf = st.GetBuffer();
The paging mechanism on the Aspose.Pdf Forums is broken. When you click on a page number, it stays on the first page.
This is the message I get whenever I try to search for specific text in the Aspose.Pdf forum.
“We are unable to serve your request”. This problem only happens on the Aspose.Pdf forum.