Class SubstituteFontEventArgs
Represents the substitute font event that occurs during Word to PDF/Image conversion to substitute the alternate fonts when a specified font is not installed in the production environment.
Inheritance
System.Object
System.EventArgs
SubstituteFontEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class SubstituteFontEventArgs : EventArgs
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
Declaration
public Stream AlternateFontStream { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream |
FontStyle
Declaration
public FontStyle FontStyle { get; }
Property Value
Type | Description |
---|---|
System.Drawing.FontStyle |
OriginalFontName
Gets the original font name. Read Only.
Declaration
public string OriginalFontName { get; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the original font name. |
OrignalFontName
Gets the original font name. Read Only.
Declaration
[Obsolete("This property has been deprecated. Use the OriginalFontName property of SubstituteFontEventArgs class to get the original font name which need to be substituted.")]
public string OrignalFontName { get; }
Property Value
Type | Description |
---|---|
System.String | The string that specifies the original font name. |