ImageGear v26.3 - Updated
Developer Guide / How to Work with ... / PDF / How to... / Manage PDF Content / Edit PDF Content and Fonts
In This Topic
    Edit PDF Content and Fonts
    In This Topic

    The ImageGear API provides content editing functionality for creating, accessing, and editing PDF page content objects. With this API you can work with a page's content as a list of objects, such as images, text, forms. You can retain, modify, and save their data and properties.

    Document font support includes:

    • Listing the fonts available in the host system and finding a system font that matches a PDF font
    • Creating a font from the system font and encoding as well as from the specified attributes
    • Changing a font's information
    • Editing and embedding a font in the document
    • Both single and multiple byte fonts are supported

    For a demonstration of how to add a text element to the content of a PDF, see our PDFContentAddText sample on github. This example demonstrates creating a font, using the content in a PDF, and creating a text element.