Approved
Last Updated: 01 Oct 2019 11:43 by ADMIN
Steve
Created on: 27 Sep 2019 15:59
Category: PdfProcessing
Type: Bug Report
0
ImageInlines with fixed Size are exported with incorrect size
If ImageInline's size is set through its Size property and not through Height or Width, the given size is not respected on export.
1 comment
ADMIN
Ivan Ivanov
Posted on: 01 Oct 2019 11:43

workaround:

Set the width and height after initializing the inline
  var inline = Document.EnumerateChildrenOfType<ImageInline>().FirstOrDefault();
                inline.Image.Height = newImageHeight;
                inline.Image.Width = newImageWidth;