HtmlSaveOptions.ExportOriginalUrlForLinkedImages

HtmlSaveOptions ExportOriginalUrlForLinkedImages property. Specifies whether original URL should be used as the URL of the linked images. Default value is false.

HtmlSaveOptions.ExportOriginalUrlForLinkedImages property

Specifies whether original URL should be used as the URL of the linked images. Default value is false.

public bool ExportOriginalUrlForLinkedImages { get; set; }

Remarks

If value is set to shapes source full name value is used as the URL of linked images and linked images are not loaded into document’s folder or ImagesFolder.

If value is set to false linked images are loaded into document’s folder or ImagesFolder and URL of each linked image is constructed depending on document’s folder, ImagesFolder and ImagesFolderAlias properties.

Examples

Shows how to configure Wordize to export original Url for linked images to HTML.

HtmlSaveOptions htmlSaveOptions = new HtmlSaveOptions();
htmlSaveOptions.ExportOriginalUrlForLinkedImages = true;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "HtmlSaveOptions.ExportOriginalUrlForLinkedImages.html", htmlSaveOptions)
    .Execute();

See Also