HtmlFixedSaveOptions.ResourcesFolderAlias
HtmlFixedSaveOptions ResourcesFolderAlias property. Specifies the name of the folder used to construct image URIs written into an Html document. Default is null.
HtmlFixedSaveOptions.ResourcesFolderAlias property
Specifies the name of the folder used to construct image URIs written into an Html document. Default is null
.
public string ResourcesFolderAlias { get; set; }
Remarks
When you save a document in Html format, Wordize needs to save all images embedded in the document as standalone files. ResourcesFolder
allows you to specify where the images will be saved and ResourcesFolderAlias
allows to specify how the image URIs will be constructed.
Examples
Shows how to specify the physical folder where resources (images, fonts, css) are saved in HtmlFixed format.
HtmlFixedSaveOptions htmlFixedSaveOptions = new HtmlFixedSaveOptions();
htmlFixedSaveOptions.ResourcesFolder = ArtifactsDir + "TestFolder";
htmlFixedSaveOptions.ResourcesFolderAlias = "TestFolder";
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "HtmlFixedSaveOptions.ResourcesFolder.html", htmlFixedSaveOptions)
.Execute();
See Also
- class HtmlFixedSaveOptions
- namespace Wordize.Saving
- assembly Wordize