This document is archived and information here might be outdated.  Recommended version.

BasicLineSymbol Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Classes > B > BasicLineSymbol Class
ArcGIS Developer Help

BasicLineSymbolClass Class

Basic line symbol object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The BasicLineSymbol is used to create a basic line symbol and is comprised of a LineStroke .

Extended Error Information

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
IBasicLineSymbol Provides access to properties of the basic line symbol.
IBasicSymbol Provides access to methods that control the basic symbol.
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.
IGeometricEffect Provides access to the Geometric Effect Interface.
IGeometricEffects Provides access to members that control the geometric effect list.
IMapLevel Provides access to members that control the map level.
IPersist (esriSystem)
IPersistStream (esriSystem)
ISupportErrorInfo (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport (esriSystem) Provides access to members that help in serializing an object to different namespaces (versions).


Use ILineStroke interface along with IGraphicAttributes interface to define a new line stroke and assign it a basic line symbol.

A linestroke has the following GraphicAttributes: