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
- Original
Type: System.String
The name of the font to replace.
- Replacement
Type: System.String
The name of the replacement font.