Share via


ShapeRange.CanvasCropTop Method

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub CanvasCropTop ( _
    Increment As Single _
)
'Usage
Dim instance As ShapeRange
Dim Increment As Single

instance.CanvasCropTop(Increment)
void CanvasCropTop(
    float Increment
)

Parameters

  • Increment
    Type: System.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 method to crop from the bottom.

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.Word Namespace