.. _doxcsid-class_p1_1_1_image_sdk_1_1_convert_config_1a9559a7bc6366722493a8eaafb3d5e31f: ConvertConfig.SetOutputWidth Method +++++++++++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Configures the output scaling using an absolute output *width*. Height is automatically calculated from the aspect ratio. .. ref-code-block:: csharp :class: doxyrest-overview-code-block public :ref:`ConvertConfig` SetOutputWidth(int destinationWidth); THis method overwrite any previous calls to :ref:`SetOutputScale ` and :ref:`SetOutputHeight ` The image processing uses the output width as a guide, meaning that it will keep aspect ratio of the output image. Also, the final output size might be larger by a few pixels, to allow the processing algorithms to use optimizations. Always use the image width/height from resulting :ref:`BitmapImage `. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - destinationWidth - The output image width in pixels .. rubric:: Returns: This object itself (this), to allow chaining