[]
        
(Showing Draft Content)

FarPoint.Win.BevelBorder

BevelBorder Class

Represents a simple one-line beveled border.

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

Constructors

Name Description
BevelBorder(BevelBorderType)

Creates a beveled border of the specified type.

BevelBorder(BevelBorderType, Color, Color)

Creates a beveled border with the specified type, highlight color, and shadow color.

BevelBorder(BevelBorderType, Color, Color, int)

Creates a beveled border with the specified type, highlight color, shadow color, and thickness.

BevelBorder(BevelBorderType, Color, Color, int, bool, bool, bool, bool)

Creates a beveled border with the specified type, highlight color, shadow 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.

Highlight

Gets the highlight 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.

Shadow

Gets the shadow color of the border.

Thickness

Gets the thickness of the border.

Top

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

Type

Gets the type of beveling for 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)

Compares the specified object to this border object.

Paint(IBorderGraphics, float, float, float, float, bool)

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

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

Paints the beveled border inside the specified rectangle.

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

Paints the beveled border inside the specified rectangle.

PaintLowered(IBorderGraphics, float, float, float, float, bool)

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

PaintLowered(Graphics, int, int, int, int)

Paints a lowered border inside the specified rectangle.

PaintLowered(Graphics, int, int, int, int, bool)

Paints a lowered border inside the specified rectangle.

PaintRaised(IBorderGraphics, float, float, float, float, bool)

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

PaintRaised(Graphics, int, int, int, int)

Paints a raised border inside the specified rectangle.

PaintRaised(Graphics, int, int, int, int, bool)

Paints a raised border inside the specified rectangle.

Serialize(XmlTextWriter)

Saves the object to XML.