workaround:
var inline = Document.EnumerateChildrenOfType<ImageInline>().FirstOrDefault(); inline.Image.Height = newImageHeight; inline.Image.Width = newImageWidth;