IsCustomized property
Returns whether the data range is customized (that is, whether the user has set the data range values instead of using the defaults). Read-only Boolean.
Applies to
Collections: DataRanges
Syntax
object.IsCustomized
Parameters
Part | Description |
---|---|
object | Required. An expression that returns a DataRanges collection. |
Example
Sub GetInfoAboutDataMap()
Dim objApp As New mappoint.Application
Dim objDataMap As mappoint.DataMap
Dim objDataSet As mappoint.DataSet
'Set up application and objects to use
objApp.Visible = True
objApp.UserControl = True
'Let user create a data map
Set objDataMap = objApp.ActiveMap.DataSets.ShowDataMappingWizard()
'Get information about the data map
If objDataMap.DataRanges.IsCustomized Then
MsgBox "The data ranges were customized."
Else
MsgBox "The data ranges were not customized."
End If
End Sub