API Reference
OfficeBorderSide
Describes one visible edge of a rectangular border box.
Inheritance
- ValueType
- OfficeBorderSide
Usage
Explore 18 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 6
- Property OfficeBorderBox.Bottom
- Property OfficeBorderBox.DiagonalDown
- Property OfficeBorderBox.DiagonalUp
- Property OfficeBorderBox.Left
- Property OfficeBorderBox.Right
- Property OfficeBorderBox.Top
Accepted by parameters 12
- Constructor OfficeBorderBox.OfficeBorderBox
- Constructor OfficeBorderBox.OfficeBorderBox
- Constructor OfficeBorderBox.OfficeBorderBox
- Constructor OfficeBorderBox.OfficeBorderBox
- Constructor OfficeBorderBox.OfficeBorderBox
- Constructor OfficeBorderBox.OfficeBorderBox
- Method OfficeBorderBox.Uniform
- Method OfficeBorderSide.Equals
- Method OfficeBorderSide.op_Equality
- Method OfficeBorderSide.op_Equality
- Method OfficeBorderSide.op_Inequality
- Method OfficeBorderSide.op_Inequality
Constructors
public OfficeBorderSide(OfficeColor color, Double width, OfficeStrokeDashStyle dashStyle = Solid, OfficeBorderLineKind lineKind = Single, Double doubleLineSeparation = 0) #Creates a border side.
Parameters
- color OfficeIMO.Drawing.OfficeColor
- width System.Double
- dashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- lineKind OfficeIMO.Drawing.OfficeBorderLineKind = Single
- doubleLineSeparation System.Double = 0
Methods
public Boolean Equals(OfficeBorderSide other) #BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Drawing.OfficeBorderSide
- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
public override Boolean Equals(Object? obj) #BooleanIndicates whether this instance and a specified object are equal.
Parameters
- obj System.Object?
- The object to compare with the current instance.
Returns
true if obj and this instance are the same type and represent the same value; otherwise, false.
public override Int32 GetHashCode() #Int32Returns the hash code for this instance.
Returns
A 32-bit signed integer that is the hash code for this instance.
public static Boolean op_Equality(OfficeBorderSide left, OfficeBorderSide right) #BooleanCompares two border sides for equality.
Parameters
- left OfficeIMO.Drawing.OfficeBorderSide
- right OfficeIMO.Drawing.OfficeBorderSide
public static Boolean op_Inequality(OfficeBorderSide left, OfficeBorderSide right) #BooleanCompares two border sides for inequality.
Parameters
- left OfficeIMO.Drawing.OfficeBorderSide
- right OfficeIMO.Drawing.OfficeBorderSide
Inherited Methods
Properties
public Double DoubleLineSeparation { get; } #Distance between the two stroke centers when OfficeBorderSide.LineKind is OfficeBorderLineKind.Double.