WebImage.Crop(Int32, Int32, Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
裁切影像。
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
參數
- top
- Int32
要從頂端移除的像素數目。
- left
- Int32
要從左側移除的像素數目。
- bottom
- Int32
要從底端移除的像素數目。
- right
- Int32
要從右側移除的像素數目。
傳回
裁切的影像。