.NET Framework Class Library
NeutralFormat.MDConvertToPDF Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > NeutralFormat Class > NeutralFormat Methods >

.NET Framework Class Library
NeutralFormat.MDConvertToPDF Method

Converts an input .DWG, .ME, DOC(x), XLS(x) or image file (BMP, JPG, TIF, PCX or TGA) into a PDF file.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub MDConvertToPDF ( _

inputImageFilePath As String, _
outputPdfFilePath As String, _
Optional resolutionFactor As String = "" _
)

C#

public void MDConvertToPDF(

string inputImageFilePath,
string outputPdfFilePath,
string resolutionFactor = ""
)

Visual C++

public:

void MDConvertToPDF(
String^ inputImageFilePath,
String^ outputPdfFilePath,
String^ resolutionFactor = L""
)

JavaScript

function mdConvertToPDF(inputImageFilePath, outputPdfFilePath, resolutionFactor);

Parameters

inputImageFilePath

Type: System.String
the complete path of the image to convert

outputPdfFilePath

Type: System.String
the complete path for the converted pdf

resolutionFactor (Optional)

Type: System.String
Optional. The final PDF resolution

Remarks

See Also

NeutralFormat Class

NeutralFormat Members

MwPDMApi Namespace