RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.ObjectResourceToText Function

Converts the binary representation of an object resource into more readily understandable text.

Pascal
procedure ObjectResourceToText(Input: TStream; Output: TStream); overload;
procedure ObjectResourceToText(Input: TStream; Output: TStream; var OriginalFormat: TStreamOriginalFormat); overload;
C++
ObjectResourceToText(TStream Input, TStream Output);
ObjectResourceToText(TStream Input, TStream Output, TStreamOriginalFormat OriginalFormat);

Classes

Call ObjectResourceToText to convert the representation of an object as it is saved in module resource files into a text version that that human readers can understand. ObjectResourceToText is the same as ObjectBinaryToText, except that it reads from a stream that includes a resource header. 

ObjectResourceToText converts the binary version of a form, as stored in a form file, into the text version that can be seen by right clicking the form and choosing View As Text. 

Use the WriteComponentRes method of the Input stream to write the binary representation before calling ObjectResourceToText. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!