PDF Web SDK Documentation

Comprehensive Guide for Developers: UI & SDK Integration, Configuration, and API Reference

PDF Web SDK
    Preparing search index...

    Interface IChangeFontAttrsWorkerData

    Worker-level data structure for ChangeFontAttrs operation

    interface IChangeFontAttrsWorkerData {
        charCount: number;
        charPosition: number;
        charSpacing?: number;
        escapement?: number;
        fontFamily?: string;
        fontFormat?: number;
        fontSize?: number;
        fontStyle?: number;
        highlightColor?: string;
        horzScaling?: number;
        pageIndex: number;
        strikeoutColor?: string;
        textblockIndex: number;
        textColor?: string;
        underlineColor?: string;
    }
    Index

    Properties

    charCount: number
    charPosition: number
    charSpacing?: number

    Character spacing in points. If present, changes character spacing

    escapement?: number

    Text escapement: 0 - none, 1 - subscript, 2 - superscript

    fontFamily?: string

    Font family name. If present, changes font family

    fontFormat?: number

    Font format: 0 - Type1, 1 - TrueType, 2 - Type3, 4 - Type0

    fontSize?: number

    Font size in points. If present, changes font size

    fontStyle?: number

    Font style: 0 – regular, 1 – italic, 2 – bold, 3 – bold-italic

    highlightColor?: string

    If present, changes highlight color

    horzScaling?: number

    Horizontal scaling in percents. If present, changes horizontal scaling

    pageIndex: number
    strikeoutColor?: string

    If present, changes strikeout color

    textblockIndex: number
    textColor?: string

    If present, changes text color

    underlineColor?: string

    If present, changes underline color