create an image based on a stream (read from a database)
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static MemoryStream CreateImageForDB( Stream sFile, int intHeight, int intWidth ) |
Visual Basic |
---|
Public Shared Function CreateImageForDB ( sFile As Stream, intHeight As Integer, intWidth As Integer ) As MemoryStream |
Parameters
- sFile
- Type: System.IO..::..Stream
image name
- intHeight
- Type: System..::..Int32
height
- intWidth
- Type: System..::..Int32
width