---
title: "drawSheetBorder(with:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsview/drawsheetborder(with:)"
---

# drawSheetBorder(with:)

Allows applications that use the AppKit pagination facility to draw additional marks on each printed sheet.

## Declaration

```swift
func drawSheetBorder(with borderSize: NSSize)
```

## Parameters

- `borderSize`: An NSSize structure that defines a printed sheet.

## Discussion

Discussion The marks can be such things as crop marks or fold lines of size borderSize. This method has been deprecated.

## See Also

### Printing the View’s Content

- [printView(_:)](appkit/nsview/printview(_:).md)
- [beginPage(in:atPlacement:)](appkit/nsview/beginpage(in:atplacement:).md)
- [dataWithEPS(inside:)](appkit/nsview/datawitheps(inside:).md)
- [dataWithPDF(inside:)](appkit/nsview/datawithpdf(inside:).md)
- [printJobTitle](appkit/nsview/printjobtitle.md)
- [pageHeader](appkit/nsview/pageheader.md)
- [pageFooter](appkit/nsview/pagefooter.md)
- [writeEPS(inside:to:)](appkit/nsview/writeeps(inside:to:).md)
- [writePDF(inside:to:)](appkit/nsview/writepdf(inside:to:).md)
- [drawPageBorder(with:)](appkit/nsview/drawpageborder(with:).md)
