Hide Table of Contents
CreateLinearDim2 Method (IDrawingDoc)

Obsolete. Superseded by IDrawingDoc::CreateLinearDim4.

.NET Syntax

Visual Basic (Declaration) 
Function CreateLinearDim2( _
   ByVal P0 As Object, _
   ByVal P1 As Object, _
   ByVal P2 As Object, _
   ByVal P3 As Object, _
   ByVal P4 As Object, _
   ByVal Val As Double, _
   ByVal PrimPrec As Integer, _
   ByVal Text As String, _
   ByVal TextPoint As Object, _
   ByVal Angle As Double, _
   ByVal TextHeight As Double, _
   ByVal Prefix As String, _
   ByVal Suffix As String, _
   ByVal Callout1 As String, _
   ByVal Callout2 As String, _
   ByVal TolType As Integer, _
   ByVal TolMin As String, _
   ByVal TolMax As String, _
   ByVal TolPrec As Integer, _
   ByVal ArrowSize As Double, _
   ByVal ArrowStyle As Integer, _
   ByVal ArrowDir As Integer, _
   ByVal WitnessGap As Double, _
   ByVal WitnessOvershoot As Double, _
   ByVal DualDisplay As Boolean, _
   ByVal DualPrec As Integer _
) As Boolean
Visual Basic (Usage) 
Dim instance As IDrawingDoc
Dim P0 As Object
Dim P1 As Object
Dim P2 As Object
Dim P3 As Object
Dim P4 As Object
Dim Val As Double
Dim PrimPrec As Integer
Dim Text As String
Dim TextPoint As Object
Dim Angle As Double
Dim TextHeight As Double
Dim Prefix As String
Dim Suffix As String
Dim Callout1 As String
Dim Callout2 As String
Dim TolType As Integer
Dim TolMin As String
Dim TolMax As String
Dim TolPrec As Integer
Dim ArrowSize As Double
Dim ArrowStyle As Integer
Dim ArrowDir As Integer
Dim WitnessGap As Double
Dim WitnessOvershoot As Double
Dim DualDisplay As Boolean
Dim DualPrec As Integer
Dim value As Boolean
 
value = instance.CreateLinearDim2(P0, P1, P2, P3, P4, Val, PrimPrec, Text, TextPoint, Angle, TextHeight, Prefix, Suffix, Callout1, Callout2, TolType, TolMin, TolMax, TolPrec, ArrowSize, ArrowStyle, ArrowDir, WitnessGap, WitnessOvershoot, DualDisplay, DualPrec)
C# 
bool CreateLinearDim2( 
   object P0,
   object P1,
   object P2,
   object P3,
   object P4,
   double Val,
   int PrimPrec,
   string Text,
   object TextPoint,
   double Angle,
   double TextHeight,
   string Prefix,
   string Suffix,
   string Callout1,
   string Callout2,
   int TolType,
   string TolMin,
   string TolMax,
   int TolPrec,
   double ArrowSize,
   int ArrowStyle,
   int ArrowDir,
   double WitnessGap,
   double WitnessOvershoot,
   bool DualDisplay,
   int DualPrec
)
C++/CLI 
bool CreateLinearDim2( 
&   Object^ P0,
&   Object^ P1,
&   Object^ P2,
&   Object^ P3,
&   Object^ P4,
&   double Val,
&   int PrimPrec,
&   String^ Text,
&   Object^ TextPoint,
&   double Angle,
&   double TextHeight,
&   String^ Prefix,
&   String^ Suffix,
&   String^ Callout1,
&   String^ Callout2,
&   int TolType,
&   String^ TolMin,
&   String^ TolMax,
&   int TolPrec,
&   double ArrowSize,
&   int ArrowStyle,
&   int ArrowDir,
&   double WitnessGap,
&   double WitnessOvershoot,
&   bool DualDisplay,
&   int DualPrec
) 

Parameters

P0
 
P1
 
P2
 
P3
 
P4
 
Val
 
PrimPrec
 
Text
 
TextPoint
 
Angle
 
TextHeight
 
Prefix
 
Suffix
 
Callout1
 
Callout2
 
TolType
 
TolMin
 
TolMax
 
TolPrec
 
ArrowSize
 
ArrowStyle
 
ArrowDir
 
WitnessGap
 
WitnessOvershoot
 
DualDisplay
 
DualPrec
 
 

See Also



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   CreateLinearDim2 Method (IDrawingDoc)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2012 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.