[]
        
(Showing Draft Content)

FarPoint.Win.LineBorder

LineBorder Class

Represents a simple single-line border.

Inheritance
LineBorder
Namespace: FarPoint.Win
Assembly: FarPoint.Win.dll
Syntax
[TypeConverter(typeof(BorderConverter))]
public class LineBorder : IBorder, IBorder2, ISerializeSupport, ICloneable, IComparable, IBorderGrayscaleSupport, IBorder3
<TypeConverter(GetType(BorderConverter))>
Public Class LineBorder
    Implements IBorder, IBorder2, ISerializeSupport, ICloneable, IComparable, IBorderGrayscaleSupport, IBorder3

Constructors

Name Description
LineBorder(Color)

Creates a simple single-line border with the specified color.

LineBorder(Color, int)

Creates a simple single-line border with the specified color and thickness.

LineBorder(Color, int, bool, bool, bool, bool)

Creates a simple single-line border with the specified color, thickness, and sides on which the border is drawn.

Properties

Name Description
Bottom

Gets whether the line is drawn on the bottom edge of the border.

Color

Gets the color of the border.

Inset

Gets the insets of the border.

Left

Gets whether the line is drawn on the left edge of the border.

Right

Gets whether the line is drawn on the right edge of the border.

Thickness

Gets the thickness of the border.

Top

Gets whether the line is drawn on the top edge of the border.

Methods

Name Description
Clone()

Clones the border object.

CompareTo(object)

Compares the current object with another object of the same type.

Deserialize(XmlNodeReader)

Loads the object from XML.

Equals(object)
Paint(IBorderGraphics, float, float, float, float, bool)

Paints (prints) to PDF the border inside the specified rectangle.

Paint(Graphics, int, int, int, int)

Paints the border inside the specified rectangle.

Paint(Graphics, int, int, int, int, bool)

Paints the border inside the specified rectangle.

Serialize(XmlTextWriter)

Saves the object to XML.