Procedure TWPRTFStyleCollection.LoadFromFile(FileName:string; Merge:Boolean; UsedByMask:Cardinal; AsCSSFormat:Boolean)

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFStyleCollection

Parameters

  • FileName:string
  • Merge:Boolean
  • UsedByMask:Cardinal
  • AsCSSFormat:Boolean

Description

Loads a string from file and applies it using . As in SetWPCSS the style information can be merged or overwritten.
If the optional parameter AsCSSFormat is true, this the file will be expected to be in CSS instead of WPCSS format.