如何纳入项目的新动力学参考?

时间:2014-08-06 09:23:42

标签: c# asp.net sdk neodynamic

我想使用新动力学图像绘制SDK,我在构建时不断收到此错误。这是我目前的代码:

using System;
using System.Collections.Generic;    
using System.Linq;    
using System.Web;    
using System.Web.UI;    
using System.Web.UI.WebControls;    
using Neodynamic.SDK.ImageDraw;    
using Neodynamic;    
using Neodynamic.SDK;    

   namespace demoImage

{
    public partial class _Default : System.Web.UI.Page    
    {         
   protected void Page_Load(object sender, EventArgs e)
        {

           Neodynamic.SDK.ImageElement imgElem = new Neodynamic.SDK.ImageElement();    
           imgElem.Source = Neodynamic.SDK.ImageSource.File;    
            imgElem.SourceFile = "http://www.domain.com/imageSample.jpg";    
           Neodynamic.SDK.TextElement txtElem = new Neodynamic.SDK.TextElement();    
            txtElem.Font.Name = "Arial";    
            txtElem.Font.Size = 36.0f;    
            txtElem.ForeColor = System.Drawing.Color.Crimson;    
            txtElem.StrokeWidth = 4;    
            txtElem.StrokeColor = System.Drawing.Color.Gold;    
            txtElem.Text = "Watermark";    
       }    
    }    
}

我在

中收到错误
Neodynamic.SDK.ImageElement imgElem = new Neodynamic.SDK.ImageElement()

线。

0 个答案:

没有答案