This class wraps the Document Conversion service. Document Conversion Service
More...
This class wraps the Document Conversion service. Document Conversion Service
IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.DocumentConversion |
( |
Credentials |
credentials | ) |
|
|
inline |
bool IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.ConvertDocument |
( |
OnConvertDocument |
callback, |
|
|
string |
documentPath, |
|
|
string |
conversionTarget, |
|
|
string |
data = null |
|
) |
| |
|
inline |
Convert document to use in other Watson services.
- Parameters
-
callback | |
documentPath | |
conversionTarget | |
data | |
- Returns
string IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.GetServiceID |
( |
| ) |
|
|
inline |
delegate byte [] IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.LoadFileDelegate |
( |
string |
filename | ) |
|
The delegate for loading a file, used by TrainClassifier().
- Parameters
-
filename | The filename to load. |
- Returns
- Should return a byte array of the file contents or null of failure.
delegate void IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.OnConvertDocument |
( |
ConvertedDocument |
resp, |
|
|
string |
data |
|
) |
| |
The OnConvertDocument callback.
- Parameters
-
Credentials IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.Credentials |
|
getset |
Gets and sets the credentials of the service. Replace the default endpoint if endpoint is defined.
LoadFileDelegate IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.LoadFile |
|
getset |
Set this property to overload the internal file loading of this class.
string IBM.Watson.DeveloperCloud.Services.DocumentConversion.v1.DocumentConversion.Url |
|
getset |
Gets and sets the endpoint URL for the service.
The documentation for this class was generated from the following file: