Text next to PictureMarkerSymbol

601
1
Jump to solution
11-23-2017 06:46 AM
DarkRider
New Contributor II

Hi! 

I am using ArcGIS SDK 100.1.0 Qt.

I want to create a PictureMarkerSymbol with a text label next to it. This text symbol will be updated during runtime with. I've tried to create a CompositeSymbol consisting of a PictureMarkerSymbol and a TextSymbol. However, the Text overlaps with the picture symbol. Is there a way to give the text symbol some offset to the picture symbol or is there another way to achieve this?

Thanks in advance

0 Kudos
1 Solution

Accepted Solutions
LukeSmallwood
Esri Contributor

Hi there,

You should be able to give the text symbol an offset using the "setOffsetX" or "setOffsetY" methods: MarkerSymbol Class | ArcGIS for Developers. They are defined on the base type MarkerSymbol rather than on TextSymbol 

I hope that helps,

Luke

View solution in original post

0 Kudos
1 Reply
LukeSmallwood
Esri Contributor

Hi there,

You should be able to give the text symbol an offset using the "setOffsetX" or "setOffsetY" methods: MarkerSymbol Class | ArcGIS for Developers. They are defined on the base type MarkerSymbol rather than on TextSymbol 

I hope that helps,

Luke

0 Kudos