[]
Provides various options controlling how a document is saved.
public class SaveOptions : FormattingBag
Gets or sets fonts available to save in the document. The default value is GrapeCity.Documents.Text.FontCollection.SystemFonts.
public IFontCollection AvailableFonts { get; set; }
Gets the collection of common system font names. If the value of EmbedSystemFonts is false, then the fonts from this collection will not be embedded.
public HashSet<string> CommonSystemFontNames { get; }
Gets or sets a value indicating whether to embed common system fonts. The default is false.
This property has no effect if the value of the FontEmbedMode property is None.
public bool EmbedSystemFonts { get; set; }
Gets or sets the font embedding mode. The default value is None.
This property has no effect if the value of the SaveFontInfos property is KeepExisting.
public FontEmbedMode FontEmbedMode { get; set; }
Gets or sets a value specifying how to save information about the fonts used in the current document. The default value is SaveMissing.
public SaveFontInfos SaveFontInfos { get; set; }
Gets the names and types of all fonts that are used in the document.
public Dictionary<string, HashSet<EmbeddedFontType>> GetFontsInUse()
All font names and their types that are used in the document.