AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface Margins

    Margins configuration for printing.

    interface Margins {
        bottom?: number;
        left?: number;
        marginType?: "none" | "default" | "printableArea" | "custom";
        right?: number;
        top?: number;
    }
    Index
    bottom?: number

    The bottom margin of the printed webpage, in pixels.

    left?: number

    The left margin of the printed webpage, in pixels.

    marginType?: "none" | "default" | "printableArea" | "custom"

    The margin type. If custom is chosen, you will also need to specify top, bottom, left, and right.

    right?: number

    The right margin of the printed webpage, in pixels.

    top?: number

    The top margin of the printed webpage, in pixels.