SRSPrintDestinationSettings::findFileNameType Method [AX 2012]

Finds the file name extension given a file and image format.

NoteNote

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


  Microsoft Dynamics AX 2012 R3
          client server public static str findFileNameType(SRSReportFileFormat _fileFormat, SRSImageFileFormat _imageFormat)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static str findFileNameType(SRSReportFileFormat _fileFormat, SRSImageFileFormat _imageFormat)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static str findFileNameType(SRSReportFileFormat fileFormat, SRSImageFileFormat imageFormat)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static str findFileNameType(SRSReportFileFormat fileFormat, SRSImageFileFormat imageFormat)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static str findFileNameType(SRSReportFileFormat fileFormat, SRSImageFileFormat imageFormat)

Run On

Called

Parameters

_fileFormat
Type: SRSReportFileFormat Enumeration
The file format of the file.
_imageFormat
Type: SRSImageFileFormat Enumeration
The image format of the file when the file format is an image; otherwise, ignore.

Return Value

Type: str
The file name extension.
Show: