Scanbot SDK
Loading...
Searching...
No Matches
ScanbotSDKPdfConfigurationTypes.h
Go to the documentation of this file.
1// Auto-generated with ScanbotSDKCodegenV3. Modifications will be overwritten.
2// Generated from SchemasV3/CoreSchemas/schemas/PDFConfigurationTypes.yaml
6
7#pragma once
8#ifndef SCANBOTSDK_PDFCONFIGURATIONTYPES_H
9#define SCANBOTSDK_PDFCONFIGURATIONTYPES_H
10
11
13#include <stdbool.h>
14#include <stddef.h>
15#include <stdint.h>
16#include <string.h>
17#include <ScanbotSDKErrorCode.h>
18#include <ScanbotSDKDefs.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24
31
61 const char* author,
62 const char* creator,
63 const char* title,
64 const char* subject,
65 const char* keywords,
67
78
79
87
112
137
162
187
212
213
261
271
289
299
325
335
371
381
410
455 scanbotsdk_pdf_attributes_t* attributes,
456 scanbotsdk_page_size_t page_size,
457 scanbotsdk_page_direction_t page_direction,
458 scanbotsdk_page_fit_t page_fit,
459 int dpi,
460 int jpeg_quality,
461 scanbotsdk_resampling_method_t resampling_method,
462 scanbotsdk_parametric_filter_t* binarization_filter,
464
475
476
484
505
530
555
584
621
656
681
702
703
704#ifdef __cplusplus
705} /* extern "C" */
706#endif
707
708#endif /* SCANBOTSDK_PDFCONFIGURATIONTYPES_H */
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
struct scanbotsdk_parametric_filter_t scanbotsdk_parametric_filter_t
scanbotsdk_parametric_filter_t class
Definition ScanbotSDKParametricFilters.h:92
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_create(const char *author, const char *creator, const char *title, const char *subject, const char *keywords, scanbotsdk_pdf_attributes_t **result)
Creates a new instance of scanbotsdk_pdf_attributes with given params and stores it in the location s...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_binarization_filter(scanbotsdk_pdf_configuration_t *self, scanbotsdk_parametric_filter_t *binarization_filter)
Sets value of binarization_filter field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_create_with_defaults(scanbotsdk_pdf_configuration_t **result)
Creates a new instance of scanbotsdk_pdf_configuration_t with given required params and stores it in ...
struct scanbotsdk_pdf_attributes_t scanbotsdk_pdf_attributes_t
scanbotsdk_pdf_attributes_t class
Definition ScanbotSDKPdfConfigurationTypes.h:30
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_page_fit(scanbotsdk_pdf_configuration_t *self, scanbotsdk_page_fit_t *page_fit)
Returns value of page_fit field of the given object.
scanbotsdk_page_fit_t
scanbotsdk_page_fit_t enum
Definition ScanbotSDKPdfConfigurationTypes.h:305
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_get_title(scanbotsdk_pdf_attributes_t *self, const char **title)
Returns value of title field of the given object. The returned pointers do NOT own the underlying obj...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_set_creator(scanbotsdk_pdf_attributes_t *self, const char *creator)
Sets value of creator field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_get_author(scanbotsdk_pdf_attributes_t *self, const char **author)
Returns value of author field of the given object. The returned pointers do NOT own the underlying ob...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_page_direction(scanbotsdk_pdf_configuration_t *self, scanbotsdk_page_direction_t page_direction)
Sets value of page_direction field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_page_direction(scanbotsdk_pdf_configuration_t *self, scanbotsdk_page_direction_t *page_direction)
Returns value of page_direction field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_set_author(scanbotsdk_pdf_attributes_t *self, const char *author)
Sets value of author field of the given object.
scanbotsdk_page_size_t
scanbotsdk_page_size_t enum
Definition ScanbotSDKPdfConfigurationTypes.h:219
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_page_size(scanbotsdk_pdf_configuration_t *self, scanbotsdk_page_size_t page_size)
Sets value of page_size field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_get_keywords(scanbotsdk_pdf_attributes_t *self, const char **keywords)
Returns value of keywords field of the given object. The returned pointers do NOT own the underlying ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_set_keywords(scanbotsdk_pdf_attributes_t *self, const char *keywords)
Sets value of keywords field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_dpi(scanbotsdk_pdf_configuration_t *self, int *dpi)
Returns value of dpi field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_get_creator(scanbotsdk_pdf_attributes_t *self, const char **creator)
Returns value of creator field of the given object. The returned pointers do NOT own the underlying o...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_get_subject(scanbotsdk_pdf_attributes_t *self, const char **subject)
Returns value of subject field of the given object. The returned pointers do NOT own the underlying o...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_create_with_defaults(scanbotsdk_pdf_attributes_t **result)
Creates a new instance of scanbotsdk_pdf_attributes_t with given required params and stores it in the...
struct scanbotsdk_pdf_configuration_t scanbotsdk_pdf_configuration_t
scanbotsdk_pdf_configuration_t class
Definition ScanbotSDKPdfConfigurationTypes.h:409
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_free(scanbotsdk_pdf_attributes_t *object)
Frees the memory allocated for the instance of scanbotsdk_pdf_attributes_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_set_title(scanbotsdk_pdf_attributes_t *self, const char *title)
Sets value of title field of the given object.
scanbotsdk_page_direction_t
scanbotsdk_page_direction_t enum
Definition ScanbotSDKPdfConfigurationTypes.h:277
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_attributes(scanbotsdk_pdf_configuration_t *self, scanbotsdk_pdf_attributes_t *attributes)
Sets value of attributes field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_jpeg_quality(scanbotsdk_pdf_configuration_t *self, int jpeg_quality)
Sets value of jpeg_quality field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_resampling_method_t_to_string(scanbotsdk_resampling_method_t value, const char **result)
Returns the string representation of the given scanbotsdk_resampling_method_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_binarization_filter(scanbotsdk_pdf_configuration_t *self, scanbotsdk_parametric_filter_t **binarization_filter)
Returns value of binarization_filter field of the given object. The returned pointers do NOT own the ...
scanbotsdk_resampling_method_t
scanbotsdk_resampling_method_t enum
Definition ScanbotSDKPdfConfigurationTypes.h:341
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_attributes(scanbotsdk_pdf_configuration_t *self, scanbotsdk_pdf_attributes_t **attributes)
Returns value of attributes field of the given object. The returned pointers do NOT own the underlyin...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_resampling_method(scanbotsdk_pdf_configuration_t *self, scanbotsdk_resampling_method_t *resampling_method)
Returns value of resampling_method field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_page_size_t_to_string(scanbotsdk_page_size_t value, const char **result)
Returns the string representation of the given scanbotsdk_page_size_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_page_size(scanbotsdk_pdf_configuration_t *self, scanbotsdk_page_size_t *page_size)
Returns value of page_size field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_page_fit(scanbotsdk_pdf_configuration_t *self, scanbotsdk_page_fit_t page_fit)
Sets value of page_fit field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_page_fit_t_to_string(scanbotsdk_page_fit_t value, const char **result)
Returns the string representation of the given scanbotsdk_page_fit_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_create(scanbotsdk_pdf_attributes_t *attributes, scanbotsdk_page_size_t page_size, scanbotsdk_page_direction_t page_direction, scanbotsdk_page_fit_t page_fit, int dpi, int jpeg_quality, scanbotsdk_resampling_method_t resampling_method, scanbotsdk_parametric_filter_t *binarization_filter, scanbotsdk_pdf_configuration_t **result)
Creates a new instance of scanbotsdk_pdf_configuration with given params and stores it in the locatio...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_attributes_set_subject(scanbotsdk_pdf_attributes_t *self, const char *subject)
Sets value of subject field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_free(scanbotsdk_pdf_configuration_t *object)
Frees the memory allocated for the instance of scanbotsdk_pdf_configuration_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_dpi(scanbotsdk_pdf_configuration_t *self, int dpi)
Sets value of dpi field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_get_jpeg_quality(scanbotsdk_pdf_configuration_t *self, int *jpeg_quality)
Returns value of jpeg_quality field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_pdf_configuration_set_resampling_method(scanbotsdk_pdf_configuration_t *self, scanbotsdk_resampling_method_t resampling_method)
Sets value of resampling_method field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_page_direction_t_to_string(scanbotsdk_page_direction_t value, const char **result)
Returns the string representation of the given scanbotsdk_page_direction_t value.
@ SCANBOTSDK_PAGE_FIT_FIT_IN
Definition ScanbotSDKPdfConfigurationTypes.h:309
@ SCANBOTSDK_PAGE_FIT_STRETCH
Definition ScanbotSDKPdfConfigurationTypes.h:318
@ SCANBOTSDK_PAGE_FIT_NONE
Definition ScanbotSDKPdfConfigurationTypes.h:322
@ SCANBOTSDK_PAGE_FIT_FILL_IN
Definition ScanbotSDKPdfConfigurationTypes.h:313
@ SCANBOTSDK_PAGE_SIZE_A5
Definition ScanbotSDKPdfConfigurationTypes.h:234
@ SCANBOTSDK_PAGE_SIZE_US4x8
Definition ScanbotSDKPdfConfigurationTypes.h:249
@ SCANBOTSDK_PAGE_SIZE_LEGAL
Definition ScanbotSDKPdfConfigurationTypes.h:225
@ SCANBOTSDK_PAGE_SIZE_US4x6
Definition ScanbotSDKPdfConfigurationTypes.h:246
@ SCANBOTSDK_PAGE_SIZE_B5
Definition ScanbotSDKPdfConfigurationTypes.h:240
@ SCANBOTSDK_PAGE_SIZE_B4
Definition ScanbotSDKPdfConfigurationTypes.h:237
@ SCANBOTSDK_PAGE_SIZE_A4
Definition ScanbotSDKPdfConfigurationTypes.h:231
@ SCANBOTSDK_PAGE_SIZE_US5x7
Definition ScanbotSDKPdfConfigurationTypes.h:252
@ SCANBOTSDK_PAGE_SIZE_EXECUTIVE
Definition ScanbotSDKPdfConfigurationTypes.h:243
@ SCANBOTSDK_PAGE_SIZE_COMM10
Definition ScanbotSDKPdfConfigurationTypes.h:255
@ SCANBOTSDK_PAGE_SIZE_A3
Definition ScanbotSDKPdfConfigurationTypes.h:228
@ SCANBOTSDK_PAGE_SIZE_CUSTOM
Definition ScanbotSDKPdfConfigurationTypes.h:258
@ SCANBOTSDK_PAGE_SIZE_LETTER
Definition ScanbotSDKPdfConfigurationTypes.h:222
@ SCANBOTSDK_PAGE_DIRECTION_LANDSCAPE
Definition ScanbotSDKPdfConfigurationTypes.h:283
@ SCANBOTSDK_PAGE_DIRECTION_PORTRAIT
Definition ScanbotSDKPdfConfigurationTypes.h:280
@ SCANBOTSDK_PAGE_DIRECTION_AUTO
Definition ScanbotSDKPdfConfigurationTypes.h:286
@ SCANBOTSDK_RESAMPLING_METHOD_CUBIC
Definition ScanbotSDKPdfConfigurationTypes.h:360
@ SCANBOTSDK_RESAMPLING_METHOD_LANCZOS4
Definition ScanbotSDKPdfConfigurationTypes.h:364
@ SCANBOTSDK_RESAMPLING_METHOD_AREA
Definition ScanbotSDKPdfConfigurationTypes.h:368
@ SCANBOTSDK_RESAMPLING_METHOD_NEAREST
Definition ScanbotSDKPdfConfigurationTypes.h:352
@ SCANBOTSDK_RESAMPLING_METHOD_LINEAR
Definition ScanbotSDKPdfConfigurationTypes.h:356
@ SCANBOTSDK_RESAMPLING_METHOD_NONE
Definition ScanbotSDKPdfConfigurationTypes.h:348