←Select platform

ToLinearGradientBrush Method

Summary

Helper method to convert AnnLinearGradientBrush to System.Drawing.Brush with opacity and bounding rectangle values.

Syntax

C#
VB
Public Shared Function ToLinearGradientBrush( _ 
   ByVal linearGradientBrush As Leadtools.Annotations.Core.AnnLinearGradientBrush, _ 
   ByVal opacity As Double, _ 
   ByVal brushBounds As Leadtools.LeadRectD _ 
) As Brush 

Parameters

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.

Return Value

System.Drawing.Brush object created.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize