private void SetLabelAttributes(ref GMap.NET.WindowsForms.Markers.GMapMarkerCross Marker_In)
{
// Label Text Font and Size
Marker_In.ToolTip.Font = new Font(LabelAttributes.TextFont, LabelAttributes.TextSize,
FontStyle.Bold | FontStyle.Regular);
Marker_In.ToolTip.Foreground = new SolidBrush(LabelAttributes.TextColor);
// Label Border color
Marker_In.ToolTip.Stroke = new Pen(new SolidBrush(LabelAttributes.LineColor), LabelAttributes.LineWidth);
Marker_In.ToolTip.Stroke.DashStyle = LabelAttributes.LineStyle;
// Label background color
Marker_In.ToolTip.Fill = Brushes.Transparent;
// Symbol color
Marker_In.Pen = new Pen(new SolidBrush(LabelAttributes.TargetColor), LabelAttributes.TargetSize);
Marker_In.Pen.DashStyle = LabelAttributes.TargetStyle;
// Align the text
Marker_In.ToolTip.Format.LineAlignment = StringAlignment.Center;
Marker_In.ToolTip.Format.Alignment = StringAlignment.Near;
}