The Create Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- 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.
Visual Basic (Declaration) | |
---|---|
Overrides Public Function Create( _ ByVal converter As AnnUnitConverter, _ ByVal rect As AnnRectangle _ ) As Brush |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnLinearGradientBrush Dim converter As AnnUnitConverter Dim rect As AnnRectangle Dim value As Brush value = instance.Create(converter, rect) |
C# | |
---|---|
public override Brush Create( AnnUnitConverter converter, AnnRectangle rect ) |
C++/CLI | |
---|---|
public: Brush^ Create( AnnUnitConverter^ converter, AnnRectangle rect ) override |
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.For an example, refer to AnnLinearGradientBrush.
AnnLinearGradientBrush uses the rect as the bounds of the linear gradient.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7