BB FlashBack SDK: FBEditor

InsertImage

Description

Inserts into the current frame of the movie an image with properties defined by the supplied FBBitmapProperties object.

This method is accessible to the Advanced edition of the SDK only.
 

Syntax

[C#/C++]
public Bool InsertImage (FBBitmapProperties* pBitmapProperties)

[VB.NET]
Public Function InsertImage (ByRef pBitmapProperties() As FBBitmapProperties) As Boolean

Parameters

pBitmapProperties : [In] Pointer to an FBBitmapProperties object
 

Return Values

If the function fails, the return value is nonzero.

If the function succeeds, the return value is zero. The ID property of the FBBitmapProperties object passed in will be set to the ID of the newly created bitmap.
 

Remarks

If the ShowOptions property of the FBBitmapProperties object is set to True, a standard image editing and selection dialog will be displayed, enabling a user to select an image file. Otherwise, the image file specified by the Name property will be inserted with the specified properties.
 

See Also

The FBBitmapProperties Class   FBBitmapProperties::ShowOptions  FBBitmapProperties::Name