Packagecom.esri.baserver
Classpublic final class ReportOrientation
InheritanceReportOrientation Inheritance BaseEnum Inheritance Object

The ReportOrientation class provides an enumeration of report orientation variants.

See also

LocatorReportParameters
MarketPenetrationParameters
PointsInPolygonReportParameters


Public Properties
 PropertyDefined By
  items : Array
[static] [read-only] Array of all items of this enumeration.
ReportOrientation
 Inheritedvalue : String
[read-only] Value of the enumeration item.
BaseEnum
Public Methods
 MethodDefined By
  
toEnumItem(value:String, defaultItem:ReportOrientation = null):ReportOrientation
[static] Converts a string value to the enumeration item.
ReportOrientation
 Inherited
toString():String
Gets the value of the enumeration item.
BaseEnum
Public Constants
 ConstantDefined By
  LANDSCAPE : ReportOrientation
[static] Landscape orientation of report.
ReportOrientation
  PORTRAIT : ReportOrientation
[static] Portrait orientation of report.
ReportOrientation
Property Detail
itemsproperty
items:Array  [read-only]

Array of all items of this enumeration.


Implementation
    public static function get items():Array
Method Detail
toEnumItem()method
public static function toEnumItem(value:String, defaultItem:ReportOrientation = null):ReportOrientation

Converts a string value to the enumeration item.

Parameters

value:String — String value of the enumeration.
 
defaultItem:ReportOrientation (default = null) — An enumeration value to be used if the value is not recognized.

Returns
ReportOrientation — An enumeration item or the default item.
Constant Detail
LANDSCAPEConstant
public static const LANDSCAPE:ReportOrientation

Landscape orientation of report.

PORTRAITConstant 
public static const PORTRAIT:ReportOrientation

Portrait orientation of report.