編輯

共用方式為


PictureFormat.CropTop Property

Definition

Returns or sets the number of points that are cropped off the top of the specified picture or OLE object.

public:
 property float CropTop { float get(); void set(float value); };
public float CropTop { get; set; }
Public Property CropTop As Single

Property Value

Remarks

Cropping is calculated relative to the original size of the picture. For example, if you insert a picture that is originally 100 points high, rescale it so that it’s 200 points high, and then set the CropTop property to 50, 100 points (not 50) will be cropped off the top of your picture.

Applies to