C# 클래스 Skinseller.Functions

파일 보기 프로젝트 열기: Ezzpify/Skinseller

공개 메소드들

메소드 설명
BitmapFromUrl ( string url ) : Bitmap

Return bitmap from Url

ExtractHtmlFragmentFromClipboardData ( string htmlDataString ) : string

Extracts html from a HtmlFragment

Fetch ( string url ) : string

Fetch html string from web url

GetStringBetween ( string source, string start, string end ) : string

Return one string inbetween two strings

MakeBitmap ( Bitmap ImageBG, Bitmap ImageItem, string ItemName, string ItemExterior, string ItemPrice, string ItemColor ) : Bitmap

Draws a new bitmap for the item

resizeImage ( Bitmap imgToResize, Size size ) : Bitmap

Returns resized image

메소드 상세

BitmapFromUrl() 공개 메소드

Return bitmap from Url
public BitmapFromUrl ( string url ) : Bitmap
url string Image web url
리턴 System.Drawing.Bitmap

ExtractHtmlFragmentFromClipboardData() 공개 메소드

Extracts html from a HtmlFragment
public ExtractHtmlFragmentFromClipboardData ( string htmlDataString ) : string
htmlDataString string Html string
리턴 string

Fetch() 공개 메소드

Fetch html string from web url
public Fetch ( string url ) : string
url string Web url
리턴 string

GetStringBetween() 공개 메소드

Return one string inbetween two strings
public GetStringBetween ( string source, string start, string end ) : string
source string Source string
start string Start string
end string End string
리턴 string

MakeBitmap() 공개 메소드

Draws a new bitmap for the item
public MakeBitmap ( Bitmap ImageBG, Bitmap ImageItem, string ItemName, string ItemExterior, string ItemPrice, string ItemColor ) : Bitmap
ImageBG System.Drawing.Bitmap Background image for the new Image
ImageItem System.Drawing.Bitmap Item image
ItemName string Item name
ItemExterior string Item exterior (Field-tested etc)
ItemPrice string Item price (plus additional information such as currency €)
ItemColor string
리턴 System.Drawing.Bitmap

resizeImage() 공개 메소드

Returns resized image
public resizeImage ( Bitmap imgToResize, Size size ) : Bitmap
imgToResize System.Drawing.Bitmap Image to resize
size System.Drawing.Size Size of new image
리턴 System.Drawing.Bitmap