SRSPrintDestinationSettings.getPrinterPageSettingsValue Method [AX 2012]

Gets the value of an XML element in the printerPageSettingsXmlDocument property at the location specified by the XPath string.

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
          private str getPrinterPageSettingsValue(str _xPath)

  Microsoft Dynamics AX 2012 R2 (SYS)
          private str getPrinterPageSettingsValue(str _xPath)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          private str getPrinterPageSettingsValue(str xPath)

  Microsoft Dynamics AX 2012 (FPK)
          private str getPrinterPageSettingsValue(str xPath)

  Microsoft Dynamics AX 2012 (SYS)
          private str getPrinterPageSettingsValue(str xPath)

Run On

Called

Parameters

  • _xPath
    Type: str
    An XPath string that points to the element that has the value to return.

Return Value

Type: str
The value of the element; otherwise, an empty string if the element does not exist or if the printerPageSettingsXmlDocument property is nullNothingnullptrunita null reference (Nothing in Visual Basic).

See Also

Reference

SRSPrintDestinationSettings Class