Share via


PageOrientationValues Enum

Definition

Defines the PageOrientationValues enumeration.

public enum PageOrientationValues
public readonly struct PageOrientationValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Wordprocessing.PageOrientationValues>, IEquatable<DocumentFormat.OpenXml.Wordprocessing.PageOrientationValues>
type PageOrientationValues = 
type PageOrientationValues = struct
    interface IEnumValue
    interface IEnumValueFactory<PageOrientationValues>
Public Enum PageOrientationValues
Public Structure PageOrientationValues
Implements IEnumValue, IEnumValueFactory(Of PageOrientationValues), IEquatable(Of PageOrientationValues)
Inheritance
PageOrientationValues
Inheritance
PageOrientationValues

Fields

Name Value Description
Portrait 0

Portrait Mode.

When the item is serialized out as xml, its value is "portrait".

Landscape 1

Landscape Mode.

When the item is serialized out as xml, its value is "landscape".

Equality(PageOrientationValues, PageOrientationValues)
Equals(Object)
Equals(PageOrientationValues)
GetHashCode()
IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<PageOrientationValues>.Create(String)
Inequality(PageOrientationValues, PageOrientationValues)
Landscape

Landscape Mode.

When the item is serialized out as xml, its value is "landscape".

PageOrientationValues(String)

Creates a new PageOrientationValues enum instance

Portrait

Portrait Mode.

When the item is serialized out as xml, its value is "portrait".

ToString()

Applies to