Home > All Other Interfaces > IGeometryCollection > AddGeometry
Adds a new geometry to the collection.
JavaScript |
|
|
C# |
|
|
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.