WPAT_BGColor and FGColor and ShadingType

  • Does FGColor and ShadingType actually add anything. I tested shadingtype with numerous integer values and found (I think) that the only one that made any difference was 2 which cleared the table cell of any colour in which case don't set a background color. Seriously though,

    1 does shadingtype actually produce any patterns and if so how.

    2 Why have BGColor and FGColor I can't work out what they are supposed to do. If you set both FGColor obliterates BGColor. I assumed that by applying shadingvalue you would get a mix of both, but this doesn't appear to be the case.

    Thanks

    Mark (seeking enlightenment)

    • Offizieller Beitrag

    Hi,

    >>Why have BGColor and FGColor I can't work out what they are supposed to do. If you set both FGColor obliterates BGColor. I assumed that by applying shadingvalue you would get a mix of both, but this doesn't appear to be the case. <<

    RTF uses forground and background colors - this is a legacy when pattarens were used to simulate shading.

    Now I would recommend to only use BGColor .

    Julian