Transforms a three-dimensional CAD point into a two-dimensional screen point.

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

Public Overridable Function GetPoint( _ 
ByVal P As DPoint
) As Point
This language is not supported or no code example is available.
public virtual Point GetPoint( 
DPoint P 
)
This language is not supported or no code example is available.

Parameters

P

Type: DPoint

A DPoint object representing a point in three-dimensional coordinate system.

Return Value

A Point object representing a point in two-dimensional coordinate system.
<p>Example use GetPoint method:</p> <p>[C#]</p>
 ...
 CADLine ln = cadImage.Converter.Entities[0] as CADLine;
 if(ln != null)
 {
 	Point p1 = cadImage.GetPoint(ln.Point);
 	Point p2 = cadImage.GetPoint(ln.Point1);
 	Console.Write(String.Format("Line X1={0} Y1={1} X2={2} Y2={3}", p1.X, p1.Y, p2.X, p2.Y))
 }
 					

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