PSPDFDocumentEditorToolbar


@interface PSPDFDocumentEditorToolbar : PSPDFFlexibleToolbar

A flexible toolbar with various document editing functions. - note: This class requires the Document Editor component to be enabled for your license.

  • Subclassing hook that allows customization of the visible buttons for the given toolbar width. Call super and modify the returned array or construct your own toolbar using the preset buttons.

    Declaration

    Objective-C

    - (nonnull NSArray<__kindof PSPDFToolbarButton *> *)buttonsForWidth:
        (CGFloat)width;

    Swift

    func buttons(forWidth width: CGFloat) -> [PSPDFToolbarButton]