'Declaration Public Enum PageOrientation Inherits System.Enum
public enum PageOrientation : System.Enum
Member | Description |
---|---|
Default | The actual value is determined by the page size. If the width of the page size is greater than the height, the orientation resolves to 'Landscape'; if the width is equal or less than the height, it resolves to 'Portrait'. |
Landscape | Pages in the associated section are printed at a 90 degree rotation with respect to the normal page orientation. The page size is adjusted, if necessary, so that the width is greater than or equal to the height, by swapping the values as defined by the page size. |
Portrait | Pages in the associated section are printed in portrait mode, with no rotation. The page size is adjusted, if necessary, so that the height is greater than or equal to the width, by swapping the values as defined by the page size. |
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub