PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / LineDef Class
Properties Methods


In This Topic
    LineDef Class Members
    In This Topic

    The following tables list the members exposed by LineDef.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the the background color of spaces between the dashes of a dashed line. Not used if LineDef.DashStyle is System.Drawing.Drawing2D.DashStyle.Solid.  
    Public PropertyGets the line color.  
    Public PropertyGets an array of custom dashes and spaces.  
    Public PropertyGets the System.Drawing.Drawing2D.DashStyle of the current LineDef.  
    Public Propertystatic (Shared in Visual Basic)Represents the default regular line (solid black, 1pt wide).  
    Public Propertystatic (Shared in Visual Basic)Represents the default bold line (solid black, 2pt wide).  
    Public Propertystatic (Shared in Visual Basic)Represents an empty line (with emtpy color and zero width).  
    Public PropertyGets the line width (thickness).  
    Top
    Public Methods
     NameDescription
    Public MethodDetermines whether the specified LineDef object is equal to the current object. This method compares the property values on the objects.  
    Public MethodServes as a hash function for the LineDef type.  
    Public MethodTests whether the current and another LineDef objects define same line styles - i.e. whether the values of LineDef.Color, LineDef.BackColor, LineDef.DashStyle and LineDef.DashPattern properties are the same. Note that this method does NOT compare the lines' widths.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a LineDef object, and initialises it with values acquired by parsing a string representation of a LineDef.  
    Public MethodReturns a string that represents the current object.  
    Top
    See Also