DBReadPCT()

  DBReadPCT

Description

DBReadPCT() is used to read a 768-entry pseudocolor table into a byte array.

Call Signature

void DBReadPCT ( int/string filespec, int segment_num, byte ptr buffer )

Return Value

void

This has no return value.

Arguments

int/string filespec:

This can either be the handle returned by DBOpen(), or the name of an open file.

int segment_num:

The segment number containing the PCT to be read.

byte ptr buffer:

An array of at least 768 bytes into which the pseudocolor table is read.

See also

GDB file functions

DBWritePCT()

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.