Skip to main content

ImageDrawingProvider

Assembly: ServiceStack.dll
View Source
Declaration
public class ImageDrawingProvider : ImageProvider

Inherited Properties

Instance

View Source
Declaration
public static ImageProvider Instance { get; set; }

Methods

Resize(Stream, Int32, Int32)

View Source
Declaration
public override Stream Resize(Stream origStream, int newWidth, int newHeight)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamorigStream
System.Int32newWidth
System.Int32newHeight

Inherited Methods

Resize(Stream, Int32, Int32)

View Source
Declaration
public abstract Stream Resize(Stream stream, int newWidth, int newHeight)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.Streamstream
System.Int32newWidth
System.Int32newHeight

Resize(Stream, String)

View Source
Declaration
public virtual Stream Resize(Stream origStream, string savePhotoSize = null)
Returns

System.IO.Stream

Parameters
TypeName
System.IO.StreamorigStream
System.StringsavePhotoSize