Partager via


Fonts.Replace Method

Replaces a font in the Fonts collection.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Replace ( _
    Original As String, _
    Replacement As String _
)
'Usage
Dim instance As Fonts
Dim Original As String
Dim Replacement As String

instance.Replace(Original, Replacement)
void Replace(
    string Original,
    string Replacement
)

Parameters

  • Replacement
    Type: System.String
    The name of the replacement font.

See Also

Reference

Fonts Interface

Fonts Members

Microsoft.Office.Interop.PowerPoint Namespace