[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Border

Border Class

Represents the border of a cell.

Inheritance
Border
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Border : ICloneable, ISerializable, ISerializeSupport2, ISerializeSupport, IPdfBorderSupport, IComparable<Border>, IComparable
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class Border
    Implements ICloneable, ISerializable, ISerializeSupport2, ISerializeSupport, IPdfBorderSupport, IComparable(Of Border), IComparable

Constructors

Name Description
Border()

Creates a new border with default values.

Border(Color)

Creates a new one-pixel, solid border with the specified color.

Border(SerializationInfo, StreamingContext)

Creates a new border from serialization.

Border(BorderStyle, Color)

Creates a new one-pixel border with the specified style and color.

Border(BorderStyle, Color, short)

Creates a new border with the specified style, color, and width.

Properties

Name Description
BorderColor

Gets or sets the color for all sides of the border.

BorderColorBottom

Gets or sets the color of the bottom border.

BorderColorLeft

Gets or sets the color of the left border.

BorderColorRight

Gets or sets the color of the right border.

BorderColorTop

Gets or sets the color of the top border.

BorderSize

Gets or sets the width in pixels for the border for all sides.

BorderSizeBottom

Gets or sets the width in pixels of the bottom border.

BorderSizeLeft

Gets or sets the width in pixels of the left border.

BorderSizeRight

Gets or sets the width in pixels of the right border.

BorderSizeTop

Gets or sets the width in pixels of the top border.

BorderStyle

Gets or sets the style that applies to all sides of the border.

BorderStyleBottom

Gets or sets the style for the bottom border.

BorderStyleLeft

Gets or sets the style for the left border.

BorderStyleRight

Gets or sets the style for the right border.

BorderStyleTop

Gets or sets the style for the top border.

Colors

Gets or sets the colors.

FooterDefault

Gets a default border for footer cells.

HeaderDefault

Gets a default border for header cells.

Inner

Gets the inner.

IsEmpty

Gets whether none of the properties for the border are set.

Outter

Gets the outter.

Sizes

Gets or sets the sizes.

Styles

Gets or sets the styles.

ZoomFactor

Gets or sets the zoom factor.

Methods

Name Description
ApplyBorder(WebControl, Border)

Applies any non-blank border settings of a border to the specified control.

Clone()

Creates a new border that is a copy of the current instance.

CompareTo(Border)

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

Copy(object)

Copies the specified Border object properties to the current object.

Deserialize(XmlNodeReader)

Loads the object from XML.

Equals(Border)

Determines whether the border of the current object is the same as the specified Border object.

GetObjectData(SerializationInfo, StreamingContext)

Returns information about the border settings.

GetOutterInnerPaths(float, float, float, float)

Gets the outter inner paths.

InternalPaint(PdfGraphics, RectangleF)

Internals the paint.

IsDefined(BorderProperty)

Gets whether a specified border property has been set.

Merge(object)

Merges settings of the specified Border object with the current border.

Merge(object, bool)

Merges settings of the specified Border object with the current border with the option to force a merge if the settings are defined in the current border.

Paint(PdfGraphics, float, float, float, float, bool)

Paints the border inside the specified rectangle.

PrepairPaint()

Prepairs the paint.

Reset(BorderProperty)

Resets the specified border property to its default setting.

ResetAll()

Resets all border property settings to their default values.

Serialize(XmlTextWriter)

Saves the object to XML.

Serialize2(XmlTextWriter)

Saves the object to XML.

SetFlag(BorderProperty, bool)

Sets a flag to indicate whether a property has been set.

ToString()

Gets the name of the border as a string.