.. _doxcsid-class_p1_1_1_image_sdk_1_1_convert_config_1ae34ec9f624f79ce9da153171379a7f09: ConvertConfig.SetCrop Method ++++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Configure for cropping the raw-image .. ref-code-block:: csharp :class: doxyrest-overview-code-block public :ref:`ConvertConfig` SetCrop(:ref:`Rect` cropRect); Offsets are with respects to the upper left corner. Positive Y direction is downwards. The resulting crop might differ slightly from your defined parameters. This is the defined behavior of our resampling algorithm. Always use the image width/height from resulting :ref:`BitmapImage `. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - cropRect - The rectangle to crop to, in the source image .. rubric:: Returns: This object itself (this), to allow chaining