Replaces the specified new font.

Namespace: Spire.Pdf.Graphics.Fonts
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Replace(
	PdfFontBase fontToReplace
)
Public Sub Replace ( 
	fontToReplace As PdfFontBase
)
public:
void Replace(
	PdfFontBase^ fontToReplace
)
member Replace : 
        fontToReplace : PdfFontBase -> unit 

Parameters

fontToReplace
PdfFontBase

See Also