Dynamicweb 8 Documentation
Convert(String,String,Int32,Int32,OutputFormat) Method

The virtual path to the source file.
The virtual path to the destination file.
The width of the image.
The height of the image.
The format of the image.
Converts the image.
Syntax
'Declaration
 
Public Overloads Shared Sub Convert( _ 
   ByVal fromFile As String, _ 
   ByVal toFile As String, _ 
   ByVal width As Integer, _ 
   ByVal height As Integer, _ 
   ByVal format As OutputFormat _ 
) 
public static void Convert( 
   string fromFile,
   string toFile,
   int width,
   int height,
   OutputFormat format 
)

Parameters

fromFile
The virtual path to the source file.
toFile
The virtual path to the destination file.
width
The width of the image.
height
The height of the image.
format
The format of the image.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Convert Class
Convert Members
Overload List

Send Feedback