ArcGIS Pro 2.6 API Reference Guide
Raster Class Methods


ArcGIS.Core.Data.Raster Namespace : Raster Class

For a list of all members of this type, see Raster members.

Public Methods
 NameDescription
Public Method Gets a value indicating whether this raster can be edited. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets a value indicating whether this raster can be saved to the given format. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodCreate a RasterCursor for optimized access to raster pixels. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodCreate a PixelBlock of the given width and height. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method (Inherited from ArcGIS.Core.CoreObjectsBase)
Public MethodErase a PixelBlock from this raster starting at a given top-left corner. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the attribute table of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodGets the RasterBand from this raster based on the band index. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodGets the RasterBand from this raster based on the band name. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the number of bands in this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets a key property for a band in this raster based on band index and key property name. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the colormap of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the extent of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the height (number of rows) of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the key property of the raster based on the key property name. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the mean cell size of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the NoData value of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodGets the RasterPixelType of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the pixel value for the given band, row and column from this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the parent raster dataset of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodGets the RasterResamplingHint for this raster.  
Public MethodGets the ArcGIS.Core.CIM.RasterResamplingType for this raster.  
Public MethodGets the ArcGIS.Core.Geometry.SpatialReference of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets the width (number of columns) of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Gets a flag indicating whether the data in this raster is integer data.  
Public Method Converts a location in map space (X and Y) to pixel space (Column and Row). This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Converts a location in pixel space (Column and Row) to map space (X and Y). This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodRead a PixelBlock starting from the top-left corner. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodRefreshes the properties of the RasterDataset associated with this raster with any changes. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodCreate a new persisted RasterDataset with the given name and format in the given ArcGIS.Core.Data.Datastore. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Sets the extent of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Sets the height (number of rows) of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Sets the NoData value of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodSets the RasterPixelType of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodSets the RasterResamplingHint for this raster.  
Public MethodSets the ArcGIS.Core.CIM.RasterResamplingType for this raster.  
Public MethodSets the ArcGIS.Core.Geometry.SpatialReference of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public Method Sets the width (number of columns) of this raster. This method must be called on the MCT. Use QueuedTask.Run.  
Public MethodWrite a PixelBlock to this raster starting from the top-left corner. This method must be called on the MCT. Use QueuedTask.Run.  
Top
See Also

Reference

Raster Class
ArcGIS.Core.Data.Raster Namespace