Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ControlRegionRenderer Class : Color1 Property |
ControlRegionRenderer frames the region as follows:
Using a pen of width Size pixels (default value is 1). It uses the background color (Color2) to trace the region using a solid brush
Using a pen of width Size pixels (default value is 1). It uses the foreground color (Color1) to trace the region using a hatch brush (with dash distance of 2 and 4)
The user can change any of these values or customize the rendering further by using RegionRenderCallback.