LoadFromFile Method

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

Applies to

IWPParInterface

Declaration

procedure LoadFromFile(const filename: WideString; const Format: WideString; Mode: Integer);

Description

Loads the contents of this paragraph from a file. This can be very useful in table cells.

Parameters

Filename

Name of the file to be loaded.

Format

Formatstring, i.e. "RTF", default is "AUTO"

Mode

Mode bits:

1: clear indents of loaded text

2: clear shading of loaded text

4: Load using current writing mode

8: Load text as children paragraphs (for table cells!)

Category

Load and Save


[idh_iwpparinterface_loadfromfile.htm]    Copyright © 2007 by WPCubed GmbH