bleeds([top], [right], [bottom], [left])

Sets the document bleeds. If one value is given, all 4 are set equally. If 4 values are given, the top/right/bottom/left document bleeds will be adjusted. Calling the function without any values, will return the document bleed settings.

Type: function

Parameter(s):

  • top {Number} Optional:

    Top bleed or all if only one.

  • right {Number} Optional:

    Right bleed.

  • bottom {Number} Optional:

    Bottom bleed.

  • left {Number} Optional:

    Left bleed.

Returns:

  • {Object}:

    Current document bleeds settings.