示例#1
0
		/// <summary>
		///   加入文字繪圖物件
		/// </summary>
		/// <param name="textObject">文字繪圖物件類別</param>
		public void AddTextObject(TextObject textObject) {
			lock (__cTextObjects) {
				__cTextObjects.Add(textObject);
			}
		}
示例#2
0
		private TextObject CreateObject(ChartPoint point, string text) {
			TextObject cObject = new TextObject();
			cObject.Location = point;
			cObject.Text = text;
			cObject.DrawingSourceFlag = 1;
			cObject.BGColor = __cProperty.BackgroundColor;
			cObject.Color = __cProperty.ForeColor;
			cObject.Size = __cProperty.FontSize;
			cObject.FontName = __cProperty.FontName;

			return cObject;
		}