LoadFromFile Method

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

Applies to

IWPTextObj

Declaration

function LoadFromFile(const filename: WideString): WordBool;

Description

This method loads the contents of this object from a file.

Parameters

Filename

The path to an image file (JPEG, PNG, BMP, EMF).

Note: When working with a placeholder object which embeds data into a PDF file (See InputEmbeddedData) this method updates the embedded data, not the image! In this case the file may be in RTF, C# and various other formats!

Category

Load and Save

Image Support


[idh_iwptextobj_loadfromfile.htm]    Copyright © 2007 by WPCubed GmbH