com.esri.arcgis.datasourcesraster
Interface IPixelBlock2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IPixelBlock2Proxy, PixelBlock

public interface IPixelBlock2
extends java.io.Serializable

COM Interface 'IPixelBlock2'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that control a PixelBlock.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID22dded84_d0a6_448e_95be_284503ac9cac
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getBytesPerPixel()
          The number of bytes per pixel for the PixelBlock.
 int getHeight()
          The height of the PixelBlock in pixels.
 int getPixelType(int plane)
          The pixel type of the PixelBlock.
 int getPlanes()
          The number of pixel arrays contained in the PixelBlock.
 java.lang.Object getSafeArrayByRef(int plane)
          A variant SafeArray of pixels for a specified plane.
 java.lang.Object getVal(int plane, int x, int y)
          The value for a specified pixel.
 int getWidth()
          The width of the PixelBlock in pixels.
 void setPixelType(int plane, int pVal)
          The pixel type of the PixelBlock.
 

Field Detail

IID22dded84_d0a6_448e_95be_284503ac9cac

static final int IID22dded84_d0a6_448e_95be_284503ac9cac
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPlanes

int getPlanes()
              throws java.io.IOException,
                     AutomationException
The number of pixel arrays contained in the PixelBlock.

Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWidth

int getWidth()
             throws java.io.IOException,
                    AutomationException
The width of the PixelBlock in pixels.

Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

int getHeight()
              throws java.io.IOException,
                     AutomationException
The height of the PixelBlock in pixels.

Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelType

int getPixelType(int plane)
                 throws java.io.IOException,
                        AutomationException
The pixel type of the PixelBlock.

Parameters:
plane - The plane (in)
Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelType

void setPixelType(int plane,
                  int pVal)
                  throws java.io.IOException,
                         AutomationException
The pixel type of the PixelBlock.

Parameters:
plane - The plane (in)
pVal - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBytesPerPixel

int getBytesPerPixel()
                     throws java.io.IOException,
                            AutomationException
The number of bytes per pixel for the PixelBlock.

Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSafeArrayByRef

java.lang.Object getSafeArrayByRef(int plane)
                                   throws java.io.IOException,
                                          AutomationException
A variant SafeArray of pixels for a specified plane.

Parameters:
plane - The plane (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVal

java.lang.Object getVal(int plane,
                        int x,
                        int y)
                        throws java.io.IOException,
                               AutomationException
The value for a specified pixel.

Parameters:
plane - The plane (in)
x - The x (in)
y - The y (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.