Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TestStreamIsXPM

Examines values in the specified stream to determine if it contains a .XPM image.

Declaration

Source position: graphics.pp line 2020

function TestStreamIsXPM(

  const AStream: TStream

):Boolean;

Arguments

AStream

  

TStream instance examined in the routine.

Function result

True when .XPM signature is found in the stream.

Description

Skip comments and searches for the 'static [const] [unsigned] char*' statement in the stream.



CT Web help

CodeTyphon Studio