[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.DashStopList

Class DashStopList

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a custom dashing scheme.

It is a list of dash stop items which represent building block atoms upon which the custom dashing scheme is built.

public class DashStopList : FormattingBagList<DashStop>, IReadOnlyList<DashStop>, IReadOnlyCollection<DashStop>, IEnumerable<DashStop>, IEnumerable
Inheritance
object
DashStopList
Implements
System.Collections.Generic.IReadOnlyList<T><DashStop>
System.Collections.Generic.IReadOnlyCollection<T><DashStop>
System.Collections.Generic.IEnumerable<T><DashStop>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Methods

Add(float, float)

Adds a new dash stop to the dashing scheme.

public DashStop Add(float dashLength, float spaceLength)

Parameters

dashLength float

The length, in percent, of the dash relative to line width.

spaceLength float

The length, in percent, of the space relative to line width.

Returns

DashStop

The added DashStop.

Equals(object)

public override bool Equals(object fmt)

Parameters

fmt object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Insert(float, float, int)

Inserts a new dash stop into the dashing scheme.

public DashStop Insert(float dashLength, float spaceLength, int index)

Parameters

dashLength float

The length, in percent, of the dash relative to line width.

spaceLength float

The length, in percent, of the space relative to line width.

index int

The dash stop index.

Returns

DashStop

The inserted DashStop.