Struct
OfficeTextBlockBackgroundBounds
OfficeIMO.Drawing
Rectangle around a measured text block, usually used for text background rendering.
Inheritance
- ValueType
- OfficeTextBlockBackgroundBounds
Usage
Explore 1 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 1
Constructors
public OfficeTextBlockBackgroundBounds(double left, double top, double width, double height) #Creates text background bounds.
Parameters
- left double
- top double
- width double
- height double
Methods
public OfficePoint[] GetCorners() #Unrotated rectangle corners in clockwise order.
Returns
OfficePoint[]public OfficePoint[] GetRotatedCorners(double rotationDegrees, double centerX, double centerY) #Rotates rectangle corners around a supplied center using clockwise degrees.
Parameters
- rotationDegrees double
- centerX double
- centerY double
Returns
OfficePoint[]