Xceed Words for .NET v5.0 Documentation
Xceed.Words.NET Assembly / Xceed.Words.NET Namespace / DocX Class / ConvertToPdf Method / ConvertToPdf(Document,String,List<PdfExternalFont>) Method


In This Topic
    ConvertToPdf(Document,String,List<PdfExternalFont>) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Shared Sub ConvertToPdf( _
       ByVal fileToConvert As Document, _
       ByVal outputFileName As String, _
       Optional ByVal externalFonts As List(Of PdfExternalFont) _
    ) 
    'Usage
     
    Dim fileToConvert As Document
    Dim outputFileName As String
    Dim externalFonts As List(Of PdfExternalFont)
     
    DocX.ConvertToPdf(fileToConvert, outputFileName, externalFonts)
    public static void ConvertToPdf( 
       Document fileToConvert,
       string outputFileName,
       List<PdfExternalFont> externalFonts
    )

    Parameters

    fileToConvert
    outputFileName
    externalFonts
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also