Partilhar via


Graphic.CropBottom Property

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

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

Syntax

'Declaration
Property CropBottom As Single
    Get
    Set
'Usage
Dim instance As Graphic
Dim value As Single

value = instance.CropBottom

instance.CropBottom = value
float CropBottom { get; set; }

Property Value

Type: System.Single

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 CropBottom property to 50, 100 points (not 50) will be cropped off the bottom of your picture.

See Also

Reference

Graphic Interface

Graphic Members

Microsoft.Office.Interop.Excel Namespace