SRSPrintDestinationSettings.landscape Method [AX 2012]

Gets or sets the value of the landscape property.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          public boolean landscape([boolean _value])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public boolean landscape([boolean _value])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public boolean landscape([boolean value])

  Microsoft Dynamics AX 2012 (FPK)
          public boolean landscape([boolean value])

  Microsoft Dynamics AX 2012 (SYS)
          public boolean landscape([boolean value])

Run On

Called

Parameters

  • _value
    Type: boolean
    A new value for the property; optional.

Return Value

Type: boolean
The current value of the property.

Remarks

This property is automatically set when the user changes the print properties.Fore more information, see the printerPageSettings method.The default value of this property is false.

This method has been replaced by a new API. Please refer to printLandscape() for setting the image to landscape.

See Also

Reference

SRSPrintDestinationSettings Class