Select to view content in your preferred language

Cannot inherit from ESRI.ArcGIS.Client.Symbols.PictureMarkerSymbol

503
1
11-07-2011 11:54 AM
DavidMitchell2
New Contributor
I am trying to scale a PictureMarkerSymbol with a change in the map extent.

There is no "scale" property for PictureMarkerSymbol and I cannot inherit to extend the class.

Is there a recommended solution?
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Can't you use the existing  'Width' and 'Height' properties instead of a new 'Scale' property ?

If, for any reason, you need to create your own class, you have to subclass 'MarkerSymbol' and add your own properties ('SimpleMarkerSymbol' is sealed).
0 Kudos