Border
Overview
Border is a class in Aspose.Words FOSS for .NET.
Inherits from: InternableComplexAttr, IComplexAttr.
Represents a border of an object.
This class provides 4 methods for working with Border objects in .NET programs.
Available methods include: ClearFormatting, Equals, GetHashCode.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: Color, DistanceFromText, IsVisible, LineStyle, LineWidth, Shadow, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LineStyle | LineStyle | Read/Write | Gets or sets the border style. |
LineWidth | double | Read/Write | Gets or sets the border width in points. |
IsVisible | bool | Read | Returns true if the LineStyle is not None. |
Color | System.Drawing.Color | Read/Write | Gets or sets the border color. |
DistanceFromText | double | Read/Write | Gets or sets distance of the border from text or from the page edge in points. |
Shadow | bool | Read/Write | Gets or sets a value indicating whether the border has a shadow. |
ThemeColor | ThemeColor | Read/Write | Gets or sets the theme color in the applied color scheme that is associated with this Border object. |
TintAndShade | double | Read/Write | Gets or sets a double value that lightens or darkens a color. |
Methods
| Signature | Description |
|---|---|
ClearFormatting() | Resets border properties to default values. |
Equals(rhs: Border) | Determines whether the specified border is equal in value to the current border. |
Equals(obj: object) | Determines whether the specified object is equal in value to the current object. |
GetHashCode() | Serves as a hash function for this type. |