'Declaration Public Shared Function Preview( _ ByVal dimPlane As Plane, _ ByVal definingPoint As Point3D, _ ByVal dimLinePos As Point3D, _ ByVal isVertical As Boolean, _ ByVal textWidth As Double, _ ByVal textHeight As Double, _ ByVal textGap As Double, _ ByVal hookLen As Double, _ ByVal offsetFromDefiningPoint As Double, _ ByRef leaderEndPoint As Point3D _ ) As Segment3D()
public static Segment3D[] Preview( Plane dimPlane, Point3D definingPoint, Point3D dimLinePos, bool isVertical, double textWidth, double textHeight, double textGap, double hookLen, double offsetFromDefiningPoint, out Point3D leaderEndPoint )
Parameters
- dimPlane
- The dimension plane. Its origin is used to measure the distance from the defining point.
- definingPoint
- The defining point.
- dimLinePos
- The dimension line position.
- isVertical
- The type of the ordinate dimension (horizontal or vertical). If true, the x-coordinate is measured, otherwise the y-coordinate is measured.
- textWidth
- The text width.
- textHeight
- The text height.
- textGap
- The text gap.
- hookLen
- The lenght of the hook line. (It is the Dimension.ArrowheadSize).
- offsetFromDefiningPoint
- The offset from the defining point. (It is the ExtLineOffset).
- leaderEndPoint
- The leader end point.
Return Value
The array of segments for preview.