Hi,
when creating a custom StampAnnotation (Image), setting the attribute MaintainAspectRatio does not keep the ratio when resizing the image.
var stampAnnot = new Annotations.StampAnnotation();
stampAnnot.PageNumber = currentPage;
stampAnnot.X = 30;
stampAnnot.Y = 30;
stampAnnot.Width = finalSize.width;
stampAnnot.Height = finalSize.height;
stampAnnot.Author = annotManager.getCurrentUser();
stampAnnot.Rotation = rotation;
stampAnnot.ImageData = imageData;
stampAnnot.MaintainAspectRatio = true;
WebViewer Version “3.1.0.73696”
Any ideas?
Thanks