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


IGeneralMultiPatchInfo.MaterialTextureBytesPerPixel Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeneralMultiPatchInfo Interface > IGeneralMultiPatchInfo.MaterialTextureBytesPerPixel Property
ArcGIS Developer Help

IGeneralMultiPatchInfo.MaterialTextureBytesPerPixel Property

Get Material texture bytes per pixel.

[Visual Basic .NET]
Public Function get_MaterialTextureBytesPerPixel ( _
    ByVal Index As Integer _
) As Integer
[C#]
public int get_MaterialTextureBytesPerPixel (
    int Index
);
[C++]
HRESULT get_MaterialTextureBytesPerPixel(
  long Index,
  System.Int32* pBytesPerPixel
);
[C++]
Parameters
Index [in]

Index is a parameter of type long pBytesPerPixel [out, retval]
pBytesPerPixel is a parameter of type long*

Product Availability

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

Description

Returns the number of bytes per pixel of the texture associated with the Geometry Material located at the specified index.

Remarks

This property shows how many bands exist in a geometry material.  For a geometry material, the minimum value of this property is 1 and the maximum is 4.  The fourth channel is usually the alpha channel used for material pixel transparency - the 'A' in 'RGBA'.

See Also

IGeneralMultiPatchInfo Interface