CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TBaseReport. CreateBrush method

Top  Previous  Next

Declaration

function CreateBrush(NewColor: TColor; NewStyle: TBrushStyle; NewBitmap: TBitmap): TBrush;

 

Category

Graphics

 

Description

This method will create a TBrush object for the given parameters. If a bitmap is not desired, pass in the value of nil. You can assign this brush to the canvas to change the current brush.

 

NOTE:

The brush object returned must be released by calling the free method of TBrush.

 

See also

TBaseReport Class, SetBrush, TBrush, TBrushStyle, TColor

 

Example (Delphi)

var MyBrush: TBrush;

begin

MyBrush := CreateBrush(clRed, bsSolid, nil);

end;

 

Example (C++Builder)

TBrush* MyBrush;

MyBrush = rp1->CreateBrush(clRed, bsSolid, NULL);

MyBrush->Free();



You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com