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 */
public Nullable<PageBorderless> get_PageBorderless ()

/** @property */
public void set_PageBorderless (Nullable<PageBorderless> value)

public function get PageBorderless () : Nullable<PageBorderless>

public function set PageBorderless (value : Nullable<PageBorderless>)

You cannot use this property in XAML.

Property Value

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

Exception typeCondition


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

A a null reference (Nothing in Visual Basic) value for this property means that this feature setting is not specified. Also, when the value is a null reference (Nothing in Visual Basic), 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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions