## DuplexOption class


Describes the [JobDuplexAllDocumentsContiguously](../../jobduplexalldocumentscontiguously/) and [DocumentDuplex](../../documentduplex/) features options.

```cpp
class DuplexOption : public Aspose::Page::XPS::XpsMetadata::Option
```

## Methods

| Method | Description |
| --- | --- |
| static [TwoSidedLongEdge](./twosidedlongedge/)(System::SharedPtr\<Duplex::DuplexMode\>) | Specifies two sided printing such that the page is flipped parallel to the *MediaSizeHeight* direction. |
| static [TwoSidedShortEdge](./twosidedshortedge/)(System::SharedPtr\<Duplex::DuplexMode\>) | Specifies two sided printing such that the page is flipped parallel to the *MediaSizeWidth* direction. |
## Fields

| Field | Description |
| --- | --- |
| static [OneSided](./onesided/) | Specifies one sided printing. |
## See Also

* Class [Option](../../option/)
* Class [Duplex](../)
* Namespace [Aspose::Page::XPS::XpsMetadata](../../)
* Library [Aspose.Page for C++](../../../)
