我想使用新动态图像绘制 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()
线。