/// <summary> /// Creates a new instance of a LabelLayer /// </summary> public LabelLayer(string layername) { _Style = new SharpMap.Styles.LabelStyle(); this.LayerName = layername; this.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; this.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; _MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All; _LabelFilter = SharpMap.Rendering.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.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.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; }