This document is archived and information here might be outdated.  Recommended version.


IConvertLabelsToAnnotation.Initialize Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IConvertLabelsToAnnotation Interface > IConvertLabelsToAnnotation.Initialize Method
ArcGIS Developer Help

IConvertLabelsToAnnotation.Initialize Method

Call this method first to initialize the converter.

[Visual Basic .NET]
Public Sub Initialize ( _
    ByVal pMap As IMap, _
    ByVal storageType As esriAnnotationStorageType, _
    ByVal whichFeatures As esriLabelWhichFeatures, _
    ByVal generateUnplacedAnnotation As Boolean, _
    ByVal pTrackCancel As ITrackCancel, _
    [ByVal pAnnotationErrorEvents As IAnnotationErrorEvents] _
)
[C#]
public void Initialize (
    IMap pMap,
    esriAnnotationStorageType storageType,
    esriLabelWhichFeatures whichFeatures,
    bool generateUnplacedAnnotation,
    ITrackCancel pTrackCancel,
    IAnnotationErrorEvents pAnnotationErrorEvents
);
[C++]
HRESULT Initialize(
  IMap* pMap,
  esriAnnotationStorageType storageType,
  esriLabelWhichFeatures whichFeatures,
  VARIANT_BOOL generateUnplacedAnnotation,
  ITrackCancel* pTrackCancel,
  IAnnotationErrorEvents* pAnnotationErrorEvents
);
[C++]
Parameters
pMap [in]

pMap is a parameter of type IMap* storageType [in]
storageType is a parameter of type esriAnnotationStorageType whichFeatures [in]
whichFeatures is a parameter of type esriLabelWhichFeatures generateUnplacedAnnotation [in]
generateUnplacedAnnotation is a parameter of type bool pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel* pAnnotationErrorEvents [in, optional, defaultvalue()]
pAnnotationErrorEvents is a parameter of type IAnnotationErrorEvents*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

This method initializes the conversion object with the global parameters for conversion.  It is the first method that should be called when using the ConvertLabelsToAnnotation object.  The initialization has the following inputs:

See Also

IConvertLabelsToAnnotation Interface