cnv.GetRendition

This job performs a rendition for a document via a call using the file ___ren.bat.

As destination format, SLIDE can be passed for preview generation. With Height and Width the size of the preview to be generated can be specified. Instead of SLIDE, TXT is also allowed as destination format for OCR.

1. Input Parameters

Name Type Required Description

ObjectID

INT

Yes

ID of the document

ObjectType

INT

Yes

Type of the object

Flags

INT

Yes

1 = do not delete the passed file list; 0 = delete (for client-side calls)

DestinationFormat

STRING

Yes

Format to which the file should be converted (see cnv.ConvertDocument)

[Digest]

STRING

No

Hash value of the document

[Watermark]

INT

No

Default 0. If set to 1, a generated PDF document will be provided with headers and footers. Appearance and content is configured by the administrator. See enaio® Administrator Guide, Chapter: Print Identification tab.

AddAnnotations

INT

Yes

1 = public slides are burned in

[ProtectPDF]

INT

No

Default 0. If set, a generated PDF document will be protected — printing and copying of text passages will then not be possible.

[SynchData]

INT

No

Default 0

[Height]

INT

No

Height of the preview for destination format SLIDE

[Width]

INT

No

Width of the preview for destination format SLIDE

2. Output Files

Name Description

File list

Path and name of the converted file(s)

3. Return Value

(INT): 0 = Job successful, otherwise error code.