This document is archived and information here might be outdated. Recommended version. |
File to be imported.
[Visual Basic .NET]
Public Sub ImportPictureFromFile ( _
ByVal Name As String _
)
[C#]
public void ImportPictureFromFile (
string Name
);
[C++]
HRESULT ImportPictureFromFile(
BSTR Name
);
[C++] Parameters Name [in]
Name is a parameter of type BSTR
ImportPictureFromFile allows for updating the PictureElement based on a file of the proper format. The Filter property is used to screen the files being loaded through ImportPictureFromFile to make sure they are of the correct type. The Filter property is based on the picture element object being manipulated (either a BmpPictureElement or an EmfPictureElement).