thanks
code ....
private string dotText = "l";
pfont = new SimpleFont( "Wingdings", 6) { Bold = true };
Draw.Text(this,"dot"+CurrentBar.ToString(), true, dotText, 0, currDotValue, yPixels, currDotColor, pfont, TextAlignment.Center, Brushes.Transparent, Brushes.Transparent, 0) ;
the following error messages result ....
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990016], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_PUSH_POP_UNBALANCED/PushPopUnbalanced], Message: The push and pop calls were unbalanced. '
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:214|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:215|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:215|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:215|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:215|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:215|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
2016-01-08 15:58:57:215|3|16|Failed to call OnRender for 'Text': 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. '
Comment