C# 클래스 Ushahidi.Model.Models.Media

상속: Common.MVC.Model
파일 보기 프로젝트 열기: ushahidi/Ushahidi_WinMobile 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Download ( string sourceURL, string destinationFilePath ) : bool

Download image from server

Import ( string filePath, string directory, Size size ) : Media

Import Photo Into Media Directory

New ( string imageName, string thumbnailName ) : Media
Parse ( string xml ) : Media
ToString ( ) : string

보호된 메소드들

메소드 설명
CreateThumbnail ( string filePath, int widthOrHeight ) : Bitmap

메소드 상세

CreateThumbnail() 보호된 정적인 메소드

protected static CreateThumbnail ( string filePath, int widthOrHeight ) : Bitmap
filePath string
widthOrHeight int
리턴 System.Drawing.Bitmap

Download() 공개 정적인 메소드

Download image from server
public static Download ( string sourceURL, string destinationFilePath ) : bool
sourceURL string source url
destinationFilePath string destination filepath
리턴 bool

Import() 공개 정적인 메소드

Import Photo Into Media Directory
public static Import ( string filePath, string directory, Size size ) : Media
filePath string image path
directory string destination directory
size System.Drawing.Size image size
리턴 Media

New() 공개 정적인 메소드

public static New ( string imageName, string thumbnailName ) : Media
imageName string
thumbnailName string
리턴 Media

Parse() 공개 정적인 메소드

public static Parse ( string xml ) : Media
xml string
리턴 Media

ToString() 공개 메소드

public ToString ( ) : string
리턴 string