Initializes a new instance of the CADDimension class.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Sub New()
This language is not supported or no code example is available.
public CADDimension()
This language is not supported or no code example is available.
<p>Creating a new CADDimension object example:</p> <p>[C#]</p>
 CreateNewImage();
 DPoint startPoint = GetRealPoint(10.0f / 100.0f , 1.0f - 10.0f / 100.0f);
 DPoint endPoint = GetRealPoint(20.0f / 100.0f, 1.0f - 20.0f / 100.0f);			
 CADDimension vDimension = new CADDimension();
 vDimension.Flags = 1;			
 vDimension.Color = CADConst.clNone;
 vDimension.LinDefPoint1 = startPoint;
 vDimension.LinDefPoint2 = endPoint;
 vDimension.DefPoint = new DPoint(endPoint.X, endPoint.Y + 20.0, 0.0);
 vDimension.Style = new CADDimensionStyle();
 vDimension.Style.ArrowSize = 0.5;
 vDimension.Style.TextHeight = 0.5;		
 cadImage.Converter.OnCreate(vDimension);
 cadImage.Converter.Loads(vDimension);
 cadImage.Converter.Entities.Add(vDimension);
 					

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6