Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / OrdinateDim Class / Preview Method
The dimension plane. Its origin is used to measure the distance from the defining point.
The defining point.
The dimension line position.
The type of the ordinate dimension (horizontal or vertical). If true, the x-coordinate is measured, otherwise the y-coordinate is measured.
The text width.
The text height.
The text gap.
The lenght of the hook line. (It is the Dimension.ArrowheadSize).
The offset from the defining point. (It is the ExtLineOffset).
The leader end point.

In This Topic
    Preview Method (OrdinateDim)
    In This Topic
    Gets the segments for the drawing preview
    Syntax
    '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()

    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.
    Remarks

    segments[0] starts from the leader end point.

    segments[1] is the hook line.

    segments[2] ends with the defining point.

    See Also