API Reference
Struct
OfficeTextBlockBackgroundBounds
Rectangle around a measured text block, usually used for text background rendering.
Inheritance
- ValueType
- OfficeTextBlockBackgroundBounds
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Constructors
public OfficeTextBlockBackgroundBounds(Double left, Double top, Double width, Double height) #Creates text background bounds.
Parameters
- left System.Double
- top System.Double
- width System.Double
- height System.Double
Methods
public OfficePoint[] GetCorners() #Returns:
OfficePoint[]Unrotated rectangle corners in clockwise order.
public OfficePoint[] GetRotatedCorners(Double rotationDegrees, Double centerX, Double centerY) #Returns:
OfficePoint[]Rotates rectangle corners around a supplied center using clockwise degrees.
Parameters
- rotationDegrees System.Double
- centerX System.Double
- centerY System.Double
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object