PixMap SetBitmap Function. Set the content of the object as a Bitmap. ABCpdf .NET PDF Library. From ABCpdf .net previous page next page SetBitmap Function Set the content of the object as a Bitmap Syntax [C#] void SetBitmap(System.Drawing.Bitmap bitmap, bool transparent) [Visual Basic] Sub SetBitmap(bitmap As System.Drawing.Bitmap, transparent As Boolean) Params Name Description bitmap The Bitmap containing the image. transparent Whether any transparency information should be preserved. Notes Set the content of the object as a System.Drawing.Bitmap. If transparency is required, the PixMap must be contained within an ObjectSoup. After the Bitmap has been set, the PixMap will be uncompressed. You may wish to compress it using a call like CompressJpeg or CompressFlate. Example See the Doc.AddXObject method.. previous page start next page