public static void RemoveAllBindings(labelObj label) { for (int i = 0; i < mapscript.MS_LABEL_BINDING_LENGTH; i++) { label.removeBinding(i); } }
public override void ApplyBinding() { if (target.GetParent().GetParent().GetType() != typeof(layerObj)) { return; } labelObj label = target; if (BindingState) { label.setBinding((int)labelBinding, itemList.SelectedItem.ToString()); } else { label.removeBinding((int)labelBinding); } }
public static void RemoveAllBindings(labelObj label) { for (int i = 0; i < mapscript.MS_LABEL_BINDING_LENGTH; i++) { label.removeBinding(i); } }