Ejemplo n.º 1
0
        public void AddImage(System.Drawing.Image image, float width, float height, float x, float y)
        {
            if (image == null)
            {
                return;
            }

            var img = image.TryGetInstance();

            if (img != null)
            {
                img.ScaleAbsolute(width, height);
                img.SetAbsolutePosition(x, y);

                Document.Add(img);
            }
        }