Szerkesztés

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


PrintTicket.PagesPerSheetDirection Property

Definition

Gets or sets a value indicating how a printer arranges multiple pages that print on each side of a sheet of paper.

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

Property Value

A PagesPerSheetDirection value indicating how a printer presents multiple pages per sheet.

Exceptions

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

Remarks

For example, a printer can present pages in left-to-right rows with rows stacked top-to-bottom.

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 PresentationDirection subfeature of the Print Schema's JobNUpAllDocumentsContiguously keyword, not the DocumentNUp keyword.

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

Applies to