SetContentsID Method

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

Used for image cloning

Applies to

IWPTextObj

Declaration

function SetContentsID(ID: IntPtr): WordBool;

Description

GetContentsID retrieves the ID of the image object which is attached to the object placeholder. If no image is attached the ID will be 0.

You can use SetContentsID(id) to assign the object also to another placeholder which clones the image.

Parameters

ID

May be 0 or a valid image data ID

Returns

True if assignment was ok, false if ID is not valid.

Category

Image Support


[idh_iwptextobj_setcontentsid.htm]    Copyright © 2007 by WPCubed GmbH