'Declaration
Public Overloads Function AutoCropPage( _ ByVal MarginLeft As Single, _ ByVal MarginTop As Single, _ ByVal MarginRight As Single, _ ByVal MarginBottom As Single _ ) As GdPictureStatus
public GdPictureStatus AutoCropPage( float MarginLeft, float MarginTop, float MarginRight, float MarginBottom )
public function AutoCropPage( MarginLeft: Single; MarginTop: Single; MarginRight: Single; MarginBottom: Single ): GdPictureStatus;
public function AutoCropPage( MarginLeft : float, MarginTop : float, MarginRight : float, MarginBottom : float ) : GdPictureStatus;
public: GdPictureStatus AutoCropPage( float MarginLeft, float MarginTop, float MarginRight, float MarginBottom )
public: GdPictureStatus AutoCropPage( float MarginLeft, float MarginTop, float MarginRight, float MarginBottom )
Parameters
- MarginLeft
- Specifies the width of the left margin for the cropped content.
- MarginTop
- Sets the height of the top margin for the cropped content.
- MarginRight
- Sets the width of the right margin for the cropped content.
- MarginBottom
- Sets the height of the bottom margin for the cropped content.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.