WebImage.Crop(Int32, Int32, Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Rogne une image.
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
Paramètres
- top
- Int32
Nombre de pixels à supprimer du haut.
- left
- Int32
Nombre de pixels à supprimer de la gauche.
- bottom
- Int32
Nombre de pixels à supprimer du bas.
- right
- Int32
Nombre de pixels à supprimer de la droite.
Retours
Image rognée.