[Overview][Constants][Types][Classes][Index] |
Sets or gets the surface palette.
Source position: line 0
procedure IPTCSurface.Palette( |
APalette: IPTCPalette |
); |
APalette |
|
The palette data. |
The surface palette object.
The procedure sets the surface palette to the palette specified in the APalette parameter. Setting the surface palette in direct color will not cause an exception to be raised even though it has no effect.
The function gets the surface palette object.
TPTCError - a TPTCError exception is raised on failure.