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


IDimensionStyleImportDialog.DoModalImport Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

IDimensionStyleImportDialog.DoModalImport Method

Displays the dialog used to import dimension styles.

[Visual Basic .NET]
Public Sub DoModalImport ( _
    ByVal SourceClass As IFeatureClass, _
    ByVal destinationStyles As IDimensionStyles, _
    ByVal hWndParent As Integer _
)
[C#]
public void DoModalImport (
    IFeatureClass SourceClass,
    IDimensionStyles destinationStyles,
    int hWndParent
);

Product Availability

Available with ArcGIS Desktop.

Remarks

SourceClass is used to populate the dialog with initial values.  If SourceClass does not exist or is null then the dialog is initialized with no default workspace; the user must navigate to the location of the desired dimension feature class containing the style they wish to import.  Use AddNameCheck before calling DoModalImport to avoid style name conflicts that will cause the import to fail.  If conflicting names are found, the newly imported styles will have an underscore and number (i.e. "_1") appended to the style name.

See Also

IDimensionStyleImportDialog Interface