This project has moved. For the latest updates, please go here.

Picture scale

Jul 16, 2015 at 2:23 PM
Hi,
In Header document i have a specific text that i use as a bookmark. i use a "InsertPicture" method in a Paragraph for insert an image and later remove the text bookmark.

var docImage = template.AddImage(image);
var docPicture = docImage.CreatePicture();

paragraph.InsertPicture(docPicture);
paragr.RemoveText(valueIndex);

The problem is result document, because the size of image in header document is mor big approximately of 120%

Is there a Autoscle property or something?
Or is there some erorrs in this code?

Regards