| Package | com.esri.baserver.tasks.rendering |
| Class | public class RenderAnalysesParameters |
| Inheritance | RenderAnalysesParameters BABaseParameters Object |
| Implements | IBAResultProcessor |
See also
| Property | Defined By | ||
|---|---|---|---|
| analysesDescription : Array
Array of layer items in the repository that will be rendered as an image. | RenderAnalysesParameters | ||
| renderingParameters : RenderingParameters
Configuration options for rendering the output to a map image. | RenderAnalysesParameters | ||
![]() | resultType : BAResultType [read-only]
Type of a result returned by the task associated with these parameters. | BABaseParameters | |
![]() | taskName : String [read-only]
Name of a Business Analyst Server task associated with these parameters. | BABaseParameters | |
| Method | Defined By | ||
|---|---|---|---|
RenderAnalysesParameters(analysesDescription:Array = null)
Creates a new instance of the RenderAnalysesParameters class. | RenderAnalysesParameters | ||
| analysesDescription | property |
analysesDescription:ArrayArray of layer items in the repository that will be rendered as an image. This array should contain instances of the LayerItem type.
public function get analysesDescription():Array public function set analysesDescription(value:Array):void| renderingParameters | property |
renderingParameters:RenderingParameters
Configuration options for rendering the output to a map image.
The zoomToLayer option is currently not supported.
The default value is an instance with empty content.
public function get renderingParameters():RenderingParameters public function set renderingParameters(value:RenderingParameters):void| RenderAnalysesParameters | () | Constructor |
public function RenderAnalysesParameters(analysesDescription:Array = null)Creates a new instance of the RenderAnalysesParameters class.
ParametersanalysesDescription:Array (default = null) — Array of layer items in the repository that will be rendered as an image.
|
var parameters : RenderAnalysesParameters = new RenderAnalysesParameters();
// analysesDescription is an array of LayerItem
//var analysesDescription:Array = [new LayerItem(item, transparency, layerName)];
parameters.analysesDescription = analysesDescription;
// Set image configuration options for rendering output.
parameters.renderingParameters.imageDescription = new ImageDescription(imageDisplay, imageType);
renderAnalysesTask.execute(parameters, new Responder(resultHandler, faultHandler));