This document is archived and information here might be outdated. Recommended version. |
Creates a new annotation feature class and returns a layer for it.
[Visual Basic .NET] Public Function CreateGraphicsLayer ( _ ByVal graphicWorkspace As IFeatureWorkspace, _ ByVal FeatureDataset As IFeatureDataset, _ ByVal graphicsLayerName As String, _ ByVal pGeometryDef As IGeometryDef, _ ByVal pAssociatedFeatureClass As IFeatureClass, _ ByVal annoLayerProps As IAnnotateLayerPropertiesCollection, _ ByVal ReferenceScale As IGraphicsLayerScale, _ ByVal SymbolCollection As ISymbolCollection, _ ByVal AutoCreate As Boolean _ ) As ILayer
[C#] public ILayer CreateGraphicsLayer ( IFeatureWorkspace graphicWorkspace, IFeatureDataset FeatureDataset, string graphicsLayerName, IGeometryDef pGeometryDef, IFeatureClass pAssociatedFeatureClass, IAnnotateLayerPropertiesCollection annoLayerProps, IGraphicsLayerScale ReferenceScale, ISymbolCollection SymbolCollection, bool AutoCreate );
[C++]
HRESULT CreateGraphicsLayer(
IFeatureWorkspace* graphicWorkspace,
IFeatureDataset* FeatureDataset,
BSTR graphicsLayerName,
IGeometryDef* pGeometryDef,
IFeatureClass* pAssociatedFeatureClass,
IAnnotateLayerPropertiesCollection* annoLayerProps,
IGraphicsLayerScale* ReferenceScale,
ISymbolCollection* SymbolCollection,
VARIANT_BOOL AutoCreate
);
[C++] Parameters graphicWorkspace [in]
graphicWorkspace is a parameter of type IFeatureWorkspace* FeatureDataset [in]
FeatureDataset is a parameter of type IFeatureDataset* graphicsLayerName [in]
graphicsLayerName is a parameter of type BSTR pGeometryDef [in]
pGeometryDef is a parameter of type IGeometryDef* pAssociatedFeatureClass [in]
pAssociatedFeatureClass is a parameter of type IFeatureClass* annoLayerProps [in]
annoLayerProps is a parameter of type IAnnotateLayerPropertiesCollection* ReferenceScale [in]
ReferenceScale is a parameter of type IGraphicsLayerScale* SymbolCollection [in]
SymbolCollection is a parameter of type ISymbolCollection* AutoCreate [in]
AutoCreate is a parameter of type bool