Important: The information in this document is obsolete and should not be used for new development.
TEGetStyleHandle
TheTEGetStyleHandlefunction returns the style handle stored in the designated
edit record'stxFontandtxFacefields. The style handle points to the associated
style record.
FUNCTION TEGetStyleHandle (hTE: TEHandle): TEStyleHandle;
hTE- A handle to the multistyled edit record containing the style handle to
be returned.DESCRIPTION
TheTEGetStyleHandlefunction returns a handle to the style record (of typeTEStyleRec), not a copy of it. Because only multistyled edit records have style records,TEGetStyleHandlereturnsNILwhen used with a monostyled edit record. To ensure future compatibility, your application should always use this function rather than manipulate the fields of the edit record directly.