This document is archived and information here might be outdated.  Recommended version.


IGeoDatabaseBridge2.QueryPixelBlock Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGeoDatabaseBridge2.QueryPixelBlock Method

Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.

[Visual Basic .NET]
Public Sub QueryPixelBlock ( _
    ByVal pSurface As ISurface, _
    ByVal xOrigin As Double, _
    ByVal yOrigin As Double, _
    ByVal xPixelSize As Double, _
    ByVal yPixelSize As Double, _
    ByVal Type As esriRasterizationType, _
    ByVal valueForNoData As Object, _
    ByRef block As Object _
)
[C#]
public void QueryPixelBlock (
    ISurface pSurface,
    double xOrigin,
    double yOrigin,
    double xPixelSize,
    double yPixelSize,
    esriRasterizationType Type,
    object valueForNoData,
    ref object block
);
[C++]
HRESULT QueryPixelBlock(
  ISurface* pSurface,
  double xOrigin,
  double yOrigin,
  double xPixelSize,
  double yPixelSize,
  esriRasterizationType Type,
  VARIANT valueForNoData,
  VARIANT* block
);
[C++]

Parameters pSurface [in]
pSurface is a parameter of type ISurface xOrigin [in] xOrigin is a parameter of type double yOrigin [in] yOrigin is a parameter of type double xPixelSize [in] xPixelSize is a parameter of type double yPixelSize [in] yPixelSize is a parameter of type double Type [in]
Type is a parameter of type esriRasterizationType valueForNoData [in] valueForNoData is a parameter of type VARIANT block [in, out] block is a parameter of type VARIANT

Product Availability

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

Description

For .NET developers. See ISurface.QueryPixelBlock for parameter help.

See Also

IGeoDatabaseBridge2 Interface