This project has moved and is read-only. For the latest updates, please go here.

Adding boder to the Picture/Image

Jul 17, 2012 at 7:58 AM
Edited Jul 17, 2012 at 8:03 AM

Can we add boder to the image we read from the stream?

Below is the code which am using now.

 using (MemoryStream memStr = new MemoryStream())
        imgBytes = (byte[])ResizeImage(imgBytes, 150, 200, false);
        memStr.Write(imgBytes, 0, imgBytes.Length);
        memStr.Position = 0;
        Novacode.Image img = package.AddImage(memStr);
        Picture pic = img.CreatePicture();