Hi Junghyron,
You can control whether images maintain their aspect during resizing using:
someImageIn
line.MaintainAspect = maintainImageAspect;
To loop through all images in a document you can use the following code:
NList<NNode> imageIn
lines = richText.Content.GetDescendants(NImageIn
line.NImageIn
lineSchema);
for (int i = 0; i < imageIn
lines.Count; i++)
{
((NImageIn
line)imageIn
lines[i]).MaintainAspect = true;
}
Let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team