IsCustom property
Returns whether the specified symbol is a user-defined custom symbol. Returns False for the MapPoint standard symbols. Read-only Boolean.
Applies to
Objects: Symbol
Syntax
object.IsCustom
Parameters
Part | Description |
---|---|
object | Required. An expression that returns a Symbol object. |
Remarks
To return or set the symbol for a Pushpin or Pushpin set, use the Symbol property of the DataSet or Pushpin object.
Example
Sub IsSymbolAddedByUser()
Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objSym As MapPoint.Symbol
objApp.Visible = True
objApp.UserControl = True
Set objMap = objApp.ActiveMap
Set objSym = objMap.Symbols(3)
'Determine whether symbol is a custom symbol
MsgBox objSym.IsCustom
End Sub