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 Function AddXRefEx( _ 
ByVal ACADFile As CADImage, _ 
ByVal AName As String, _ 
ByVal APos As DPoint, _ 
ByVal AScale As DPoint, _ 
ByVal Rotation As Single, _ 
ByRef layout As CADLayout
) As CADInsert
This language is not supported or no code example is available.
public CADInsert AddXRefEx( 
CADImage ACADFile
string AName
DPoint APos
DPoint AScale
float Rotation
out CADLayout layout 
)
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.

layout

Type: CADLayout

The layout which the XRef entity will be added to.

The created external reference is added to the default layout.

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