ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Core.Geometry Namespace / UncompressedTexture Class / RowCount Property
Example

In This Topic
    RowCount Property (UncompressedTexture)
    In This Topic
    Gets the height of the image in pixels.
    Syntax
    public override int RowCount {get;}
    Public Overrides ReadOnly Property RowCount As Integer
    Example
    Create BasicMaterial with Uncompressed texture
    {
      UncompressedTexture uncompressedTexture1 = new UncompressedTexture(new byte[10 * 12 * 3], 10, 12, 3);
    
      // texture properties
      int bpp = uncompressedTexture1.BytesPerPixel;
      int columnCount = uncompressedTexture1.ColumnCount;
      int rowCount = uncompressedTexture1.RowCount;
    
      // build the textureResource and the material
      TextureResource tr = new TextureResource(uncompressedTexture1);
      BasicMaterial material = new BasicMaterial();
      material.TextureResource = tr;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also