<Code Lib>
M

ItemFactoryBase.NewDimension(View, Line, ReferenceArray, DimensionType)

Description:
Creates a new linear dimension object using the specified dimension style.
Overloads (2):
NewDimension(View,Line,ReferenceArray,DimensionType)

public Dimension NewDimension(
	View view,
	Line line,
	ReferenceArray references,
	DimensionType dimensionType
)

  • view
    The view in which the dimension is to be visible. The view must be null if the document is in SketchEditScope.
  • line
    The line drawn for the dimension.
  • references
    An array of geometric references to which the dimension is to be bound.
  • dimensionType
    The dimension style to be used for the dimension.
Return Value Dimension If successful a new dimension object, otherwise .

Loading…