This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IR > IRasterMakerOp Interface > IRasterMakerOp.MakeConstant Method (ArcObjects .NET 10.4 SDK) |
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,
IGeoDataset** outGeoDataset
);
[C++]
Parameters value [in] value is a parameter of type double treatAsInteger [in] treatAsInteger is a parameter of type VARIANT_BOOL outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset
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 |