Creates a CADXRef object with the specified name and adds this external reference to the specified CAD image.

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

Public Sub AddXRef( _ 
ByVal ACADFile As CADImage, _ 
ByVal AName As String, _ 
ByVal APos As DPoint, _ 
ByVal AScale As DPoint, _ 
ByVal Rotation As Single
)
This language is not supported or no code example is available.
public void AddXRef( 
CADImage ACADFile
string AName
DPoint APos
DPoint AScale
float Rotation 
)
This language is not supported or no code example is available.

Parameters

ACADFile

Type: CADImage

A CADImage where the created external reference will be added.

AName

Type: string

A string containing a name for the newly created external reference.

APos

Type: DPoint

A DPoint object representing an insertion point for the newly created external reference.

AScale

Type: DPoint

A DPoint object representing a scale for the newly created external reference.

Rotation

Type: float

A rotation angle for the newly created external reference.

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

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