ArcObjects Library Reference (GeoAnalyst)  

IRasterMakerOp.MakeRandom Method

Makes a randomly distributed raster.

[Visual Basic .NET]
Public Function MakeRandom ( _
    [ByVal seed As Object] _
) As IGeoDataset
[C#]
public IGeoDataset MakeRandom (
    object seed
);
[C#]

Optional Values

seed   To indicate that this parameter is undefined, pass in Type.Missing.
[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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

[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
2147483647 to 2147483648.

See Also

IRasterMakerOp Interface