/// <summary> /// Creates a new instance of a LabelLayer /// </summary> public LabelLayer(string layername) : base(new LabelStyle(), new LabelRenderer()) { //_Style = new LabelStyle(); LayerName = layername; SmoothingMode = Smoothing.AntiAlias; TextRenderingHint = TextRendering.AntiAlias; MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All; _labelFilter = LabelCollisionDetection.SimpleCollisionDetection; }
/// <summary> /// Creates a new instance of a LabelLayer /// </summary> public LabelLayer(string layername) : base(new LabelStyle()) { //_Style = new LabelStyle(); LayerName = layername; SmoothingMode = SmoothingMode.AntiAlias; TextRenderingHint = TextRenderingHint.AntiAlias; MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All; _labelFilter = LabelCollisionDetection.QuickAccurateCollisionDetectionMethod; }
/// <summary> /// Creates a new instance of a LabelLayer /// </summary> public LabelLayer(string layername) :base(new LabelStyle()) { //_Style = new LabelStyle(); LayerName = layername; SmoothingMode = SmoothingMode.AntiAlias; TextRenderingHint = TextRenderingHint.AntiAlias; MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All; _labelFilter = LabelCollisionDetection.SimpleCollisionDetection; }
/// <summary> /// Creates a new instance of a LabelLayer /// </summary> public LabelLayer(string LayerName) : base(LayerName) { _Style = new LabelStyle(); _MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All; _LabelFilter = LabelCollisionDetection.SimpleCollisionDetection; }