編輯

共用方式為


Shape.CanvasCropTop(Single) Method

Definition

Crops a percentage of the height of a drawing canvas from the top of the canvas.

public:
 void CanvasCropTop(float Increment);
public void CanvasCropTop (float Increment);
abstract member CanvasCropTop : single -> unit
Public Sub CanvasCropTop (Increment As Single)

Parameters

Increment
Single

Required Single. The amount in percentage points of a canvas's height that you want remaining after the canvas is cropped. Entering 0.9 as the increment crops ten percent of the canvas's height from the top. Entering 0.1 crops ninety percent of the canvas's height from the top.

Remarks

Use the CanvasCropBottom(Single) method to crop from the bottom.

Applies to