Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

What is the transparent color of a bitmap for TppImage?

edited June 2005 in General
I have bitmaps that have dark pink as the background color which Delphi
handles fine in TImagelist and TGlyph on the various controls. However in
ReportBuilder 7.0.4 when I place a TppImage on the report and load the
bitmap the pink appears on the report in the preview.
Changing the transparent property on the TppImage has no effect.

Should the bitmap have white as its color that is not to be displayed?
If it is not white what should it be?

Thank you for your time.

Best regards,

Paul Hectors

Comments

  • edited June 2005

    Transparent in this context refers to the copy mode that is applied to the
    canvas.

    if Transparent then
    FCanvas.CopyMode := SrcAnd
    else
    FCanvas.CopyMode := SrcCopy;

    There is no transparent color support. I think you want to make the
    transparent color white.




    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.