←Select platform

Create Method

Summary

Creates a new GDI+ brush object using this AnnLinearGradientBrush.

Syntax

C#
VB
C++
public override Brush Create( 
   AnnUnitConverter converter, 
   AnnRectangle rect 
) 
  
Public Overrides Function Create( _ 
   ByVal converter As Leadtools.Annotations.AnnUnitConverter, _ 
   ByVal rect As Leadtools.Annotations.AnnRectangle _ 
) As Brush 

Parameters

converter
Specifies an AnnUnitConverter object to be used when converting any annotation lengths, points, etc. this brush might have.

rect
Specifies an AnnRectangle object defining the bounding rectangle to be used with this brush.

Return Value

The GDI+ System.Drawing.Brush object created from this AnnLinearGradientBrush.

Remarks

AnnLinearGradientBrush uses the rect as the bounds of the linear gradient.

Example

For an example, refer to AnnLinearGradientBrush.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly