Docs / API reference

Markdown

C API

Functions in `uds_pdf.h`, grouped by what they work on. Every one returns `-1` or `NULL` on error, with the message in `uds_last_error()`.

GroupFunctions
Buffers and errorsuds_buffer_data, uds_buffer_len, uds_buffer_free, uds_last_error, uds_version
Documentsuds_document_new, uds_document_sample, uds_document_open, uds_document_free, uds_document_page_count, uds_document_info_json, uds_document_set_info, uds_document_save, uds_document_undo, uds_document_redo, uds_document_append_pdf
Page textuds_document_text_blocks, uds_document_edit_text, uds_document_replace_text, uds_document_text_edit_fonts, uds_document_hide_text_block
Pagesuds_page_render, uds_page_render_png, uds_page_text, uds_page_text_json, uds_search_json, uds_page_insert_blank, uds_page_delete, uds_page_move, uds_page_rotate
Annotationsuds_annotations_json, uds_annotation_get_json, uds_annotation_add_json, uds_annotation_update_json, uds_annotation_delete, uds_annotation_move, uds_annotation_reorder, uds_annotations_flatten, uds_annotations_export_json, uds_annotations_import_json, uds_annotation_render_png
Interactive editoruds_editor_set_tool, uds_editor_set_style_json, uds_editor_style_json, uds_editor_render, uds_editor_render_png, uds_editor_pointer, uds_editor_key, uds_editor_selected_json, uds_editor_select, uds_editor_set_editing
Worduds_word_open, uds_word_command, uds_word_insert_image, uds_word_pdf, uds_word_save, uds_word_free
Exceluds_excel_check, uds_excel_open, uds_excel_new, uds_excel_command, uds_excel_render, uds_excel_save, uds_excel_pdf, uds_excel_free
Fontsuds_font_register, uds_font_file, uds_font_file_for_char, uds_font_families