This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi When i use DiagramBitmapRenderer to export the diagramsurface to a JPEG file, but i found the backgound is Black in JPEG file. DiagramBitmapRenderer.Jpeg.Render(ds, saveFileDialog.FileName); I want the background to be white, what should i do. Thank you very much!!! Andrew |
|
|
Hi Andrew, By default, the diagram is exported to an image with a transparent background - but as jpeg does not support transparency, it comes out black. To fix this, set the Background property of the DiagramSurface to White. The DiagramBitmapRenderer will use that as the background of the exported image. -Jason Fauchelle |
|