Struct
OfficeBorderSide
OfficeIMO.Drawing
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.OfficeColor
- width double
- dashStyle OfficeIMO.Drawing.OfficeStrokeDashStyle = Solid
- lineKind OfficeIMO.Drawing.OfficeBorderLineKind = Single
- doubleLineSeparation double = 0
Methods
Equals 2 overloads
public bool Equals(OfficeBorderSide other) #Indicates 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
bool true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj) #Indicates whether this instance and a specified object are equal.
Parameters
- obj object?
- The object to compare with the current instance.
Returns
bool true if obj and this instance are the same type and represent the same value; otherwise, false.public override int GetHashCode() #Returns the hash code for this instance.
Returns
int A 32-bit signed integer that is the hash code for this instance.public static bool op_Equality(OfficeBorderSide left, OfficeBorderSide right) #Compares two border sides for equality.
Parameters
- left OfficeIMO.Drawing.OfficeBorderSide
- right OfficeIMO.Drawing.OfficeBorderSide
Returns
boolpublic static bool op_Inequality(OfficeBorderSide left, OfficeBorderSide right) #Compares two border sides for inequality.
Parameters
- left OfficeIMO.Drawing.OfficeBorderSide
- right OfficeIMO.Drawing.OfficeBorderSide
Returns
boolInherited Methods
Properties
public double DoubleLineSeparation { get; } #Distance between the two stroke centers when OfficeBorderSide.LineKind is OfficeBorderLineKind.Double.