C# Class Affecto.PositiveFeedback.EmployeeSynchronization.ActiveDirectory.EmployeePicture.LocalPicture

Mostra file Open project: affecto/positiivisen-palautteen-keha Class Usage Examples

Public Methods

Method Description
GetResizedPicture ( Size newSize ) : MemoryStream
LocalPicture ( Stream pictureStream ) : System

Private Methods

Method Description
CalculateNewSize ( int targetSize, int originalSize, double percent ) : int
Crop ( Image image, int newWidth, int newHeight ) : Image
Resize ( Size newSize ) : Image

Method Details

GetResizedPicture() public method

public GetResizedPicture ( Size newSize ) : MemoryStream
newSize System.Drawing.Size
return System.IO.MemoryStream

LocalPicture() public method

public LocalPicture ( Stream pictureStream ) : System
pictureStream Stream
return System