PsdLoadOptionsDefaultReplacementFont Property
Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system). To take proper name of default font can be used next code snippet: System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection(); System.Drawing.FontFamily[] families = col.Families; string defaultFontName = families[0].Name; PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName });

Namespace: Aspose.Imaging.ImageLoadOptions
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.03
Syntax
public string DefaultReplacementFont { get; set; }

Property Value

Type: String
The default replacement font.
See Also