PrintTicket.PageBorderless Property

 

Gets or sets a value indicating whether the device prints content to the edge of the media or leaves an unprinted margin around the edge.

Namespace:   System.Printing
Assembly:  ReachFramework (in ReachFramework.dll)

member PageBorderless : Nullable<PageBorderless> with get, set

Property Value

Type: System.Nullable<PageBorderless>

A PageBorderless value that specifies whether the printer uses borderless printing.

Exception Condition
ArgumentOutOfRangeException

Calling code has attempted to set the property to a value that is not in the PageBorderless enumeration.

A null value for this property means that this feature setting is not specified. Also, when the value is null, the XML versions of the PrintTicket (see SaveTo and GetXmlStream) will not contain any markup for this feature.

This property corresponds to the Print Schema's PageBorderless keyword.

You can test for the options that the printer supports by using the PageBorderlessCapability property.

.NET Framework
Available since 3.0
Return to top
Show: