Shape.CanvasCropTop(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.