C#
VB
C++
Helper method to convert AnnLinearGradientBrush to System.Drawing.Brush with opacity and bounding rectangle values.
public static Brush ToLinearGradientBrush(
AnnLinearGradientBrush linearGradientBrush,
double opacity,
LeadRectD brushBounds
)
Public Shared Function ToLinearGradientBrush( _
ByVal linearGradientBrush As Leadtools.Annotations.Core.AnnLinearGradientBrush, _
ByVal opacity As Double, _
ByVal brushBounds As Leadtools.LeadRectD _
) As Brush
public:
static Brush^ ToLinearGradientBrush(
AnnLinearGradientBrush^ linearGradientBrush,
double opacity,
LeadRectD^ brushBounds
)
linearGradientBrush
Brush object to convert
opacity
Opacity value to use. Values can be from 0 to 1.0.
brushBounds
The bounding rectangle of the brush in pixels.
System.Drawing.Brush object created.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET