VMPrint API Reference - v1.0.0
    Preparing search index...
    interface ElementStyle {
        allowLineSplit?: boolean;
        backgroundColor?: string;
        baselineShift?: number;
        borderBottomColor?: string;
        borderBottomWidth?: number;
        borderColor?: string;
        borderLeftColor?: string;
        borderLeftWidth?: number;
        borderRadius?: number;
        borderRightColor?: string;
        borderRightWidth?: number;
        borderTopColor?: string;
        borderTopWidth?: number;
        borderWidth?: number;
        color?: string;
        direction?: string;
        fontFamily?: string;
        fontSize?: number;
        fontStyle?: string;
        fontWeight?: string | number;
        height?: number;
        hyphenateCaps?: boolean;
        hyphenation?: HyphenationMode;
        inlineMarginLeft?: number;
        inlineMarginRight?: number;
        justifyEngine?: JustifyEngineMode;
        justifyStrategy?: JustifyStrategy;
        keepWithNext?: boolean;
        lang?: string;
        letterSpacing?: number;
        lineHeight?: number;
        marginBottom?: number;
        marginLeft?: number;
        marginRight?: number;
        marginTop?: number;
        opacity?: number;
        orphans?: number;
        overflowPolicy?: string;
        padding?: number;
        paddingBottom?: number;
        paddingLeft?: number;
        paddingRight?: number;
        paddingTop?: number;
        pageBreakBefore?: boolean;
        textAlign?: TextAlign;
        textIndent?: number;
        verticalAlign?:
            | "baseline"
            | "text-top"
            | "middle"
            | "text-bottom"
            | "bottom";
        widows?: number;
        width?: number;
        zIndex?: number;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    allowLineSplit?: boolean
    backgroundColor?: string
    baselineShift?: number
    borderBottomColor?: string
    borderBottomWidth?: number
    borderColor?: string
    borderLeftColor?: string
    borderLeftWidth?: number
    borderRadius?: number
    borderRightColor?: string
    borderRightWidth?: number
    borderTopColor?: string
    borderTopWidth?: number
    borderWidth?: number
    color?: string
    direction?: string
    fontFamily?: string
    fontSize?: number
    fontStyle?: string
    fontWeight?: string | number
    height?: number
    hyphenateCaps?: boolean
    hyphenation?: HyphenationMode
    inlineMarginLeft?: number
    inlineMarginRight?: number
    justifyEngine?: JustifyEngineMode
    justifyStrategy?: JustifyStrategy
    keepWithNext?: boolean
    lang?: string
    letterSpacing?: number
    lineHeight?: number
    marginBottom?: number
    marginLeft?: number
    marginRight?: number
    marginTop?: number
    opacity?: number
    orphans?: number
    overflowPolicy?: string
    padding?: number
    paddingBottom?: number
    paddingLeft?: number
    paddingRight?: number
    paddingTop?: number
    pageBreakBefore?: boolean
    textAlign?: TextAlign
    textIndent?: number
    verticalAlign?: "baseline" | "text-top" | "middle" | "text-bottom" | "bottom"
    widows?: number
    width?: number
    zIndex?: number