Navigation:  Interfaces (Technical API Reference) > General: WPDllInt + IWPMemo/IWPEditor > IWPMemo / IWPEditor > Methods >

LoadStyleSheet

Previous pageReturn to chapter overviewNext page

Declaration

function LoadStyleSheet(const filename: WideString): Integer;

Description

Loads the paragraph styles from a file.

In case the filename has the extension .css the CSS Level 2 syntax is used.

Otherwise the proprietary TextDynamic/WPTools style syntax is used.

If you need to load CSS data from a string please use TextCommandStr(30, "...")