SvgSaveOptions.ResourcesFolderAlias
SvgSaveOptions ResourcesFolderAlias property. Specifies the name of the folder used to construct image URIs written into an SVG document. Default is null.
SvgSaveOptions.ResourcesFolderAlias property
Specifies the name of the folder used to construct image URIs written into an SVG document. Default is null
.
public string ResourcesFolderAlias { get; set; }
Remarks
When you save a document in SVG 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 configure raster images export to SVG.
SvgSaveOptions svgSaveOptions = new SvgSaveOptions();
svgSaveOptions.ExportEmbeddedImages = false;
svgSaveOptions.MaxImageResolution = 200;
svgSaveOptions.ResourcesFolder = ArtifactsDir +"svgresources";
svgSaveOptions.ResourcesFolderAlias = "svgresources";
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "SaveOptions.ExportEmbeddedImages.svg", svgSaveOptions)
.Execute();
See Also
- class SvgSaveOptions
- namespace Wordize.Saving
- assembly Wordize