InsertImage

InsertImage()

功能说明

在文档中插入一副图片

调用示例

function InsertImage()
      {
            if ( 0 == iWebPDF2015.Documents.Count )
            {
                  alert("没有已打开文档");
                  retrun;
            }
            Var annot = iWebPDF2015.Documents.ActiveDocument.Pages(0).Annots.Add(12);
            annot.FromDeviceRect(100,100,200,200);
            annot.BlendMode = "Multiply";
            annot.Title = "Admin";
            annot.Color = 255;
            annot.ImageAppearance("c:\aa.jpg");
            iWebPDF2015.Documents.ActiveDocument.Views.ActiveView.Refresh();
      }