Select to view content in your preferred language

Turn AXF layer labels on and off via ArcPad applet

946
3
Jump to solution
11-08-2016 03:08 PM
IngridHogle
Frequent Contributor

Is there a way to turn an AXF layer's labels on and off (set SIMPLELABELRENDERER visible = true or false) from an applet? I am trying to create an applet form with a single checkbox that users can use to turn labels on or off for multiple AXF layers, but it appears that the label property of a layer is not exposed.

0 Kudos
1 Solution

Accepted Solutions
StephenQuan1
Esri Contributor

Hi Ingrid,

The trick that we've used in the past is to add the layer twice but, each instance, has different symbology.

Then your problem becomes a simple matter of alternating which layer is visible / invisible.

Stephen

View solution in original post

3 Replies
StephenQuan1
Esri Contributor

Hi Ingrid,

The trick that we've used in the past is to add the layer twice but, each instance, has different symbology.

Then your problem becomes a simple matter of alternating which layer is visible / invisible.

Stephen

IngridHogle
Frequent Contributor

Thanks! That’s exactly what I’m about to test, to see how much I'll have to change other related code to make this solution work.

0 Kudos
IngridHogle
Frequent Contributor

Thank you! This worked.

0 Kudos