예제 #1
0
 /// <summary>
 /// 初始化构造器,使用当前显示器的宽度
 /// </summary>
 /// <param name="Url">网页地址</param>
 /// <param name="TargetImg">生成图片的信息</param>
 public ThumbnailOperate(string Url, ThumbnailImg TargetImg) : this(Url, Screen.PrimaryScreen.Bounds.Width, TargetImg)
 {
 }
예제 #2
0
 /// <summary>
 /// 初始化构造器
 /// </summary>
 /// <param name="Url">网页地址</param>
 /// <param name="BrowserWidth">设置浏览器宽度</param>
 /// <param name="TargetImg">生成图片定义</param>
 public ThumbnailOperate(string Url, int BrowserWidth, ThumbnailImg TargetImg)
 {
     this.Url = Url;
     this.BrowserWidth = BrowserWidth;
     this.TargetImg = TargetImg;
 }