PictureFormat.CropRight Property

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

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

Syntax

'Declaration
Property CropRight As Single
    Get
    Set
'Usage
Dim instance As PictureFormat
Dim value As Single

value = instance.CropRight

instance.CropRight = value
float CropRight { 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 wide, rescale it so that it's 200 points wide, and then set the CropRight property to 50, 100 points (not 50) will be cropped off the right side of your picture.

See Also

Reference

PictureFormat Interface

PictureFormat Members

Microsoft.Office.Interop.Word Namespace