Method function IGDIPlus.IGPImageAttributes.SetBrushRemapTable(Cardinal;PGPColorMap) : TGPImageAttributes
This is a Beta Read Only version of this page. Please review and send recommendations to email@example.com. We will enable the editing as soon as we are happy with the overall Wiki site.
function SetBrushRemapTable( mapSize : Cardinal, map : PGPColorMap ) : TGPImageAttributes;
TGPImageAttributes __fastcall SetBrushRemapTable( unsigned int mapSize, PGPColorMap map );
Visual C++ (MFC):
SetBrushRemapTable( mapSize, map );
Sets the color remap table for the brush category.
Call this method to set the color remap table for the brush category. Remarks A color-remap table is an array of ColorMap structures. Each ColorMap structure has two Color objects: one that specifies an old color and one that specifies a corresponding new color. During rendering, any color that matches one of the old colors in the remap table is changed to the corresponding new color.
Calling the SetBrushRemapTable method has the same effect as passing ColorAdjustTypeBrush to the SetRemapTable method. The specified remap table applies to items in metafiles that are filled with a brush.