MTextExtensionGetMTextBoxCorners Method |
Gets the points at corners of the mtext bounding box.
Namespace:
Gile.AutoCAD.R20.Extension
Assembly:
Gile.AutoCAD.R20.Extension (in Gile.AutoCAD.R20.Extension.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static Point3d[] GetMTextBoxCorners(
this MText mtext
)
<ExtensionAttribute>
Public Shared Function GetMTextBoxCorners (
mtext As MText
) As Point3d()
public:
[ExtensionAttribute]
static array<Point3d>^ GetMTextBoxCorners(
MText^ mtext
)
[<ExtensionAttribute>]
static member GetMTextBoxCorners :
mtext : MText -> Point3d[]
Parameters
- mtext
- Type: MText
Instance to which the method applies.
Return Value
Type:
Point3dThe points (counter-clockwise from lower left).
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MText. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown if mtext is null. |
See Also