Coveo Knowledge Base – Information Article – 060331-1

IFilterWrapper Object Reference

The information in this technical note applies to:

Coveo Enterprise Search 4

Summary

This document contains complementary information about the IFilterWrapper scripting object.

Definition
Overview
Methods

Definition

The IFilterWrapper scripting object contains multiple useful properties and methods to handle IFilters installed on your system.

Overview

This is a list of all IFilterWrapper properties and methods.

·          Properties: No properties

·          Methods: ConvertFromFile, GetNameForProperty, GetPropertyList, GetText, GetValueForProperty

Methods

Name

Type

Description

Parameters

ConvertFromFile

 

Call to load information from the IFilter.

p_FilePath (String): The path of the file to convert.

p_TemporaryPath (String): The temporary path to use.

GetNameForProperty

Variant

Retrieve the name for a property.

p_PropertyID (Long): The ID of the property to get.

GetPropertyList

Variant Array

Get a list of available properties ID array.

 

GetText

BinaryData

Retrieve extracted text.

 

GetValueForProperty

Variant

Retrieve the value for a property.

p_PropertyID (Long): The ID of the property to get.

 

See Conversion Script Objects Reference to get a complete list of all available conversion script objects.