This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IR > IRasterMakerOp Interface > IRasterMakerOp.MakeRandom Method (ArcObjects .NET 10.5 SDK) |
Makes a randomly distributed raster.
[Visual Basic .NET] Public Function MakeRandom ( _ [ByVal seed As Object] _ ) As IGeoDataset
[C#] public IGeoDataset MakeRandom ( object seed );
Optional Values
[C++]
HRESULT MakeRandom(
VARIANT seed,
IGeoDataset** outGeoDataset
);
[C++]
Parameters seed [optional] seed is a parameter of type VARIANT
To indicate this parameter is undefined pass in a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset
[seed] |
a value to be used to reseed the random number generator. This may be a scalar, integer or floating point number, or an expression resulting in such a number. Rasters are not permitted as input. By default the random number generator is automatically seeded using the current value of the system clock (seconds since January 1, 1970). The range of permissible values for [seed] is from �(2**31) + 1 to 2**31, or � |