AddGeometry

Adds a new geometry to the collection.

 

JavaScript

 

AddGeometry(

       pVal)

 

C#

 

IGeometry AddGeometry(

       object pVal)

 

C++

 

HRESULT AddGeometry(

       VARIANT pVal,

       IGeometry** ppIGeometry)

Parameters

pVal

The geometry being created.

Return Value

ppIGeometry

The IGeometry, representing the properties and behavior of the geometry being added.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.