• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class BorderCollection

Represents a BorderCollection.

Inheritance
object
BorderCollection
Implements
IEnumerable<Border>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class BorderCollection : IEnumerable<Border>, IEnumerable

Properties

Bottom

Gets bottom.

Declaration
public Border Bottom { get; }
Property Value
Type Description
Border

Count

Gets count.

Declaration
public int Count { get; }
Property Value
Type Description
int

Left

Gets the left border, or null when it is not set.

Declaration
public Border Left { get; }
Property Value
Type Description
Border

Right

Gets the right border, or null when it is not set.

Declaration
public Border Right { get; }
Property Value
Type Description
Border

Top

Gets the top border, or null when it is not set.

Declaration
public Border Top { get; }
Property Value
Type Description
Border

Methods

ClearBorders()

Removes all borders and records that an inherited or built-in border set was explicitly cleared.

Declaration
public void ClearBorders()

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<Border> GetEnumerator()
Returns
Type Description
IEnumerator<Border>

The resulting value.

SetBorder(BorderType, LineStyle, DrawingColor, double)

Sets one border side with the specified line formatting.

Declaration
public void SetBorder(BorderType borderType, LineStyle lineStyle, DrawingColor color, double lineWidth)
Parameters
Type Name Description
BorderType borderType

The side to format.

LineStyle lineStyle

The line style.

DrawingColor color

The border color.

double lineWidth

The line width in points.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX