I have these lines of code:
Aspose.Words.Saving.HtmlSaveOptions options = new Aspose.Words.Saving.HtmlSaveOptions(Aspose.Words.SaveFormat.Html);
string strRootFolder = HttpContext.Current.Server.MapPath("/");
string strPoliciesImagesFolder = "/Uploads/PoliciesAndProcedures/WordImages";
string strFullPathImagesFolder = strRootFolder += strPoliciesImagesFolder.Replace("/", "\\");
if (!Directory.Exists(strFullPathImagesFolder))
{
Directory.CreateDirectory(strFullPathImagesFolder);
}
options.ImagesFolder = strFullPathImagesFolder;
options.ImagesFolderAlias = strPoliciesImagesFolder;
doc.Save(stream, options);
But I need to be able to have same image to have the same ID each time instead of creating a new one. Is this possible? Thank you in advanced.