This document is archived and information here might be outdated. Recommended version. |
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*
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: