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

Afficher le fichier Open project: affecto/positiivisen-palautteen-keha Class Usage Examples

Méthodes publiques

Méthode Description
GetResizedPicture ( Size newSize ) : MemoryStream
LocalPicture ( Stream pictureStream ) : System

Private Methods

Méthode 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 méthode

public GetResizedPicture ( Size newSize ) : MemoryStream
newSize System.Drawing.Size
Résultat System.IO.MemoryStream

LocalPicture() public méthode

public LocalPicture ( Stream pictureStream ) : System
pictureStream Stream
Résultat System