You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Creating, Loading & Closing GdPicture Image > CreateGdPictureImageFromMetaFile > CreateGdPictureImageFromMetaFile Method (String, Single)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.CreateGdPictureImageFromMetaFile Method (String, Single)

Creates a new GdPicture Image based on a metafile image file multiplying the image size by a specified factor.

C#
public int CreateGdPictureImageFromMetaFile(
    String FilePath, 
    Single ScaleBy
);
Visual Basic
Public Function CreateGdPictureImageFromMetaFile(
    ByVal FilePath As String, 
    ByVal ScaleBy As Single
) As Integer
Parameters
Parameters 
Description 
FilePath 
The path of the file to open.  
ScaleBy 
Multiplies the image size by a specified factor.  
Returns

0: The image could not created. Use the GetStat() function to determine the reason this function failed. 

Non-zero: GdPicture Image Identifier. The created image.

If success, set the created image as a GdPicture image. 

Supported formats are EMF and WMF

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.