Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public Nullable<PageBorderless> PageBorderless { get; set; }

Property Value

Type: System.Nullable<PageBorderless>

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

Exception Condition

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
© 2017 Microsoft