This document is archived and information here might be outdated. Recommended version. |
A gradient fill pattern object.
GradientPattern is used to draw a BasicFillSymbol using a color ramp.
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
Interfaces | Description |
---|---|
IDocumentVersionSupportGEN (esriSystem) | Provides access to extend the IObjectStream interface with methods to hande saving objects that did not exist in previous versions of the software. |
IDrawingOutline | Provides access to methods dealing with the outline of a drawing rule. |
IFillPattern | Provides access to methods that control the fill pattern. |
IGraphicAttributes | Provides access to members that control the graphic attributes. |
IGraphicAttributes2 | Provides access to members that control the graphic attributes. |
IPersist (esriSystem) | |
IPersistStream (esriSystem) | |
ISupportErrorInfo (esriSystem) |
A GradientPattern is used to draw BasicFillSymbol with a gradient fill pattern.
Use IFillPattern interface to create a new GradientPattern and IGraphicAttributes interface to assign attribute values to the fill pattern.
This object can be controlled using the following GraphicAttributes:
The following example shows how to assign values to the attributes of a GradientPattern using IGraphicAttributes interface.