doc-view-set-slice

doc-view-set-slice is an interactive compiled Lisp function in `doc-view.el'.


(doc-view-set-slice X Y WIDTH HEIGHT)

Set the slice of the images that should be displayed.
You can use this function to tell doc-view not to display the
margins of the document. It prompts for the top-left corner (X
and Y) of the slice to display and its WIDTH and HEIGHT.

See `doc-view-set-slice-using-mouse' and
`doc-view-set-slice-from-bounding-box' for more convenient ways
to do that. To reset the slice use `doc-view-reset-slice'.