XamlFixedSaveOptions.ResourcesFolderAlias
XamlFixedSaveOptions ResourcesFolderAlias property. Specifies the name of the folder used to construct image URIs written into an fixed page Xaml document. Default is null.
XamlFixedSaveOptions.ResourcesFolderAlias property
Specifies the name of the folder used to construct image URIs written into an fixed page Xaml document. Default is null
.
public string ResourcesFolderAlias { get; set; }
Remarks
When you save a document in fixed page Xaml 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 are saved in XamlFixed format.
XamlFixedSaveOptions xamlFixedSaveOptions = new XamlFixedSaveOptions();
xamlFixedSaveOptions.ResourcesFolder = ArtifactsDir + "xamlFixedResources";
xamlFixedSaveOptions.ResourcesFolderAlias = "xamlFixedResources";
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "XamlFixedSaveOptions.ResourcesFolder.xaml", xamlFixedSaveOptions)
.Execute();
See Also
- class XamlFixedSaveOptions
- namespace Wordize.Saving
- assembly Wordize