![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
Makes a constant raster.
[Visual Basic .NET] Public Function MakeConstant ( _ ByVal value As Double, _ ByVal treatAsInteger As Boolean _ ) As IGeoDataset
[C#] public IGeoDataset MakeConstant ( double value, bool treatAsInteger );
[C++]
HRESULT MakeConstant(
  double value,
  VARIANT_BOOL treatAsInteger
);
[C++] Parameters value [in]
value is a parameter of type double treatAsInteger [in]
treatAsInteger is a parameter of type bool
| 
 value  | 
 constant value to create output raster dataset from.  | 
| 
 treatAsInteger  | 
 a boolean specifying the data type of the output raster dataset. If TRUE, an integer raster will be created. If FALSE, a floating-point raster will be created  |