OrdinateDim.Preview Method

Gets the segments for the drawing preview
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()
This language is not supported or no code example is available.
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 
)
This language is not supported or no code example is available.

Parameters

dimPlane
Plane

The dimension plane. Its origin is used to measure the distance from the defining point.

definingPoint
Point3D

The defining point.

dimLinePos
Point3D

The dimension line position.

isVertical
bool

The type of the ordinate dimension (horizontal or vertical). If true, the x-coordinate is measured, otherwise the y-coordinate is measured.

textWidth
double

The text width.

textHeight
double

The text height.

textGap
double

The text gap.

hookLen
double

The lenght of the hook line. (It is the Dimension.ArrowheadSize).

offsetFromDefiningPoint
double

The offset from the defining point. (It is the ExtLineOffset).

leaderEndPoint
Point3D

The leader end point.

Return Value

Segment3D[]

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.

.NET Framework

Supported in: 4.8

In this article

Definition