Build Raster Pyramids Operation
An operation that builds pyramids for a raster. A BuildRasterPyramidsOperation is returned by RasterPyramids.buildPyramids. While the build is in progress, the same operation is also available from RasterPyramids.activeBuildOperation. Use this object to observe progress, request cancellation, and await the pyramid information produced by the build.
When the operation completes successfully, BuildRasterPyramidsOperation.result returns information about the pyramid set that was built, and RasterPyramids.pyramidInfo is refreshed with that same information.
Since
300.1.0
Functions
Requests cancellation of the pyramid build operation. Cancellation is cooperative. After cancellation is requested, the operation may continue until the executing code observes the request. If cancellation is observed, BuildRasterPyramidsOperation.result reports cancellation.
Suspends and returns a result when the pyramid build operation has completed. This method does not start the operation. It suspends and resumes when the pyramid build operation completes. If the operation has already completed, the method returns the operation's result or error. If the operation completes successfully, the method returns information about the pyramid set that was built. If the operation fails or is canceled, the returned Result reports the corresponding error.