BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-Word Programming API  |  Download Free Trial  |  Contact Us to Purchase

ConversionMethod Property

Set conversion method for converting to RTF files.

Sub ConversionMethod(newVal As Long)


Parameters

newVal

One of optConversionMethod values:

CNV_METHOD_DEFAULT = 0 - Default,
CNV_METHOD_USE_SPACES_AND_TABS = 1 - Preserve layout using spaces and tabs,
CNV_METHOD_USE_TEXTBOXES = 2 - Preserve layout using textboxes,
CNV_METHOD_TEXT_FLOW = 3 - Reflow the document

Exception Handling

Please refer to the list of return exceptions.

Example Usage

oConverter = CreateObject("EasyConverter.PDF2Word.4")

' Set conversion method
oConverter.ConversionMethod = CNV_METHOD_USE_TEXTBOXES
Call oConverter.ConvertToWord(inFileName, outFileName)