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


IPixelBlock.SafeArray Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IPixelBlock.SafeArray Property

A variant SafeArray of pixels for a specified plane.

[Visual Basic .NET]
Public Function get_SafeArray ( _
    ByVal plane As Integer _
) As Object
[Visual Basic .NET]
Public Sub set_SafeArray ( _
    ByVal plane As Integer, _
    ByVal val As Object _
)
[C#]
public object get_SafeArray (
    int plane
);
[C#]
public void set_SafeArray (
    int plane,
    object val
);
[C++]
HRESULT get_SafeArray(
  long plane,
  VARIANT* val
);
[C++]
HRESULT put_SafeArray(
  long plane,
  VARIANT val
);
[C++]

Parameters plane [in] plane is a parameter of type long val [out, retval] val is a parameter of type VARIANT plane [in] plane is a parameter of type long val [in] val is a parameter of type VARIANT

Product Availability

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

See Also

IPixelBlock Interface

.NET Related Topics

How to access pixel data using the RawBlocks object