Type Alias DocumentGridConfig

DocumentGridConfig: {
    columns: number;
    firstPageAlone: boolean;
    gapX: number;
    gapY: number;
    scale: number;
}

Configuration for PDF grid layout

Type declaration

  • columns: number

    1 = single, 2 = two-up, n = grid

  • firstPageAlone: boolean

    Cover page behavior for 2+ columns

  • gapX: number

    Horizontal spacing (px)

  • gapY: number

    Vertical spacing (px)

  • scale: number

    The scale factor of the element (Drawing Units / Real World Units). The scale factor is strictly a ratio and is unitless. Example: 1:300 => 0.00333, 1:1 => 1, 5:1 => 5