Class SubstituteFontEventArgs
Represents the substitute font event that occurs during Excel to PDF/Image conversion to substitute the alternate fonts when a specified font is not installed in the production environment.
Inheritance
System.Object
SubstituteFontEventArgs
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class SubstituteFontEventArgs : EventArgs
Remarks
This event is supported for Excel to PDF/Image conversion alone
Properties
AlternateFontName
Gets or sets the alternate font name.
Declaration
public string AlternateFontName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the alternate font name. |
AlternateFontStream
Gets or sets the alternate font stream.
Declaration
public Stream AlternateFontStream { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream | The stream that specifies the alternate font . |
Remarks
AlternateFontStream is considered over AlternateFontName if the alternate font stream is valid
OriginalFontName
Gets the original font name. Read Only.
Declaration
public string OriginalFontName { get; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the orignal font name. |
Remarks
The original font is not installed in production environment