Aspose::Words::Saving::FontSavingArgs::get_FontFileName method
FontSavingArgs::get_FontFileName method
Gets or sets the file name (without path) where the font will be saved to.
System::String Aspose::Words::Saving::FontSavingArgs::get_FontFileName() const
Remarks
This property allows you to redefine how the font file names are generated during export to HTML.
When the event is fired, this property contains the file name that was generated by Aspose.Words. You can change the value of this property to save the font into a different file. Note that file names must be unique.
Aspose.Words automatically generates a unique file name for every embedded font when exporting to HTML format. How the font file name is generated depends on whether you save the document to a file or to a stream.
When saving a document to a file, the generated font file name looks like %
When saving a document to a stream, the generated font file name looks like Aspose.Words.
FontFileName must contain only the file name without the path. Aspose.Words determines the path for saving using the document file name, the FontsFolder and FontsFolderAlias properties.
See Also
- Class FontSavingArgs
- Namespace Aspose::Words::Saving
- Library Aspose.Words for C++