Szerkesztés

Megosztás a következőn keresztül:


PrintTicket.PageBorderless Property

Definition

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.

public:
 property Nullable<System::Printing::PageBorderless> PageBorderless { Nullable<System::Printing::PageBorderless> get(); void set(Nullable<System::Printing::PageBorderless> value); };
public System.Printing.PageBorderless? PageBorderless { get; set; }
member this.PageBorderless : Nullable<System.Printing.PageBorderless> with get, set
Public Property PageBorderless As Nullable(Of PageBorderless)

Property Value

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

Exceptions

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

Remarks

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.

Applies to