PdfIndexedColorSpace.ColorCount Property Gets or sets the number of colors in the color table. C#public int ColorCount { get; set; } Property Value Int32 The number of colors in the color table.