LoadPalette
Applies to

TDirectDraw

Declaration

function LoadPalette( const Name: String ): TDirectDrawPalette;

Description

This method creates a DirectDraw palette object from the Name bitmap resoure. If the resource does not exists or an empty string is passed it creates a default 332 palette.