Udostępnij za pośrednictwem


WebImage.Crop(Int32, Int32, Int32, Int32) Metoda

Definicja

Przycina obraz.

public System.Web.Helpers.WebImage Crop (int top = 0, int left = 0, int bottom = 0, int right = 0);
member this.Crop : int * int * int * int -> System.Web.Helpers.WebImage
Public Function Crop (Optional top As Integer = 0, Optional left As Integer = 0, Optional bottom As Integer = 0, Optional right As Integer = 0) As WebImage

Parametry

top
Int32

Liczba pikseli do usunięcia z góry.

left
Int32

Liczba pikseli do usunięcia z lewej strony.

bottom
Int32

Liczba pikseli do usunięcia z dołu.

right
Int32

Liczba pikseli do usunięcia z prawej strony.

Zwraca

Przycięty obraz.

Dotyczy