The first (foreground) color to use when framing the region.
public Color Color1 { get; set; }
public:
property System::Drawing::Color^ Color1
{
System::Drawing::Color^ get()
void set(System::Drawing::Color^ value)
}
The first (foreground) color to use when framing the region. Default value is "Black".
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document