示例#1
0
        public RemotePdfStamper(int Page, int LeftX, int LeftY, int RightX, int RightY, byte[] PdfFile, string StampText)
        {
            string serviceUrl = Config.RemotePdfStamperServiceUrl();

            externalStamper.RemotePdfStamper stamper = new externalStamper.RemotePdfStamper();
            stamper.Url = serviceUrl;
            //chiamata al WS
            _stampedPDF = stamper.RemotePdfStamp(Page, LeftX, LeftY, RightX, RightY, PdfFile, StampText);
        }
示例#2
0
        public RemotePdfStamper(byte[] PdfFile, string StampText)
        {
            string serviceUrl = Config.RemotePdfStamperServiceUrl();
            PdfBox box        = Config.RemotePdfStamperCoords();

            externalStamper.RemotePdfStamper stamper = new externalStamper.RemotePdfStamper();
            stamper.Url = serviceUrl;
            //chiamata AL WS
            _stampedPDF = stamper.RemotePdfStamp(box.Page, box.LeftX, box.LeftY, box.RightX, box.RightY, PdfFile, StampText);
        }