LoadStyleSheet

[Top]  [Chapter]  [Previous]  [Next]

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, "...")


[loadstylesheet.htm]    Copyright © 2007 by WPCubed GmbH