コード例 #1
0
 private void RadialGauge1_DrawLabel(object sender, Syncfusion.Windows.Forms.Gauge.DrawLabelEventArgs e)
 {
     e.Handled = true;
     if (e.LabelType == Syncfusion.Windows.Forms.Gauge.LabelType.Scale)
     {
         e.Text += " °C";
     }
     e.LabelAlignment = Syncfusion.Windows.Forms.Gauge.LabelAlignment.Default;
     e.Font           = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 }
コード例 #2
0
 private void RadialGauge4_DrawLabel(object sender, Syncfusion.Windows.Forms.Gauge.DrawLabelEventArgs e)
 {
     e.Handled = true;
     e.Text   += " %";
     e.Font    = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
 }