LoadPicture Method

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

Applies to

IWPFieldContents

Declaration

procedure LoadPicture(const Picture: IUnknown; w: Integer; h: Integer);

Description

You can insert a picture. If you use the OCX you can use any IPicture reference.

When using .NET convert an "Image" using the Image2Picture class:

Contents.LoadPicture(new WPDynamic.Image2Picture(

  pictureBox1.Image ),0,0 );


[idh_iwpfieldcontents_loadpicture.htm]    Copyright © 2007 by WPCubed GmbH