Conversions
public struct Conversions : Codable, Equatable
Document conversion settings.
-
A list of PDF conversion settings.
Declaration
Swift
public var pdf: PDFSettings? -
A list of Word conversion settings.
Declaration
Swift
public var word: WordSettings? -
A list of HTML conversion settings.
Declaration
Swift
public var html: HTMLSettings? -
A list of Document Segmentation settings.
Declaration
Swift
public var segment: SegmentSettings? -
Defines operations that can be used to transform the final output JSON into a normalized form. Operations are executed in the order that they appear in the array.
Declaration
Swift
public var jsonNormalizations: [NormalizationOperation]? -
When
true, automatic text extraction from images (this includes images embedded in supported document formats, for example PDF, and suppported image formats, for example TIFF) is performed on documents uploaded to the collection. This field is supported on Advanced and higher plans only. Lite plans do not support image text recognition.Declaration
Swift
public var imageTextRecognition: Bool? -
Initialize a
Conversionswith member variables.Declaration
Swift
public init( pdf: PDFSettings? = nil, word: WordSettings? = nil, html: HTMLSettings? = nil, segment: SegmentSettings? = nil, jsonNormalizations: [NormalizationOperation]? = nil, imageTextRecognition: Bool? = nil )Parameters
pdfA list of PDF conversion settings.
wordA list of Word conversion settings.
htmlA list of HTML conversion settings.
segmentA list of Document Segmentation settings.
jsonNormalizationsDefines operations that can be used to transform the final output JSON into a normalized form. Operations are executed in the order that they appear in the array.
imageTextRecognitionWhen
true, automatic text extraction from images (this includes images embedded in supported document formats, for example PDF, and suppported image formats, for example TIFF) is performed on documents uploaded to the collection. This field is supported on Advanced and higher plans only. Lite plans do not support image text recognition.Return Value
An initialized
Conversions.
View on GitHub
Conversions Structure Reference