Inserts an inline image from Image object into the document and scales it to the specified size. Hi, I am trying to insert an image into an aspose words document and am getting a blank document as a result with no image. Here is my code. Inserts an image from a file or URL at the specified position and size. InsertImage Method (String, RelativeHorizontalPosition, Double, RelativeVerticalPosition.
|Published (Last):||19 November 2010|
|PDF File Size:||13.85 Mb|
|ePub File Size:||6.31 Mb|
|Price:||Free* [*Free Regsitration Required]|
16 packages returned for Tags:”Tif”
I am trying to place multiple images with a bit of a spacing vertically. How can I perfectly align pictures vertically with a bit of gap no matter how many pictures there insery Currently the picture looks like this.
This will enable you to place multiple images with a bit vertical spacing. You were simply adding an image on a PDF page whereas this code aspoze adds an image to Paragraphs collection and setting the margin property of image object fixes the alignment and spacing of the images.
Here is what I am doing. TextFragment “Einstein Picture” ; page.
Add asose ; Aspose. Rectangle,; Aspose. Rectangle,; page. Pdf ; How can I perfectly align pictures vertically with a bit of gap no matter how many pictures there are?
image Method (String) – for .NET – API Reference
Please let us know if you need any further assistance. We will be glad to help. I work with Aspose as Developer Evangelist.
Farhan Raza 1 6. Please no link-only answers on stack overflow. By the way, feel free to keep the original link in the answer, e. Sign up or log in Sign up using Google.