Skip to main content
A newer version of this page is available. .
Tab

ExportBinaryImageSettings.Width Property

Specifies the width of the binary image when it is exported.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(0)]
public int Width { get; set; }

Property Value

Type Default Description
Int32 0

A Int32 value that is the exported image’s width. By default 60px.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Width
ASP.NET Bootstrap Controls BootstrapBinaryImageEditProperties
BootstrapImageEditProperties
ASP.NET Web Forms Controls BinaryImageEditProperties
ImageEditProperties
ImageEditPropertiesBase
MVCxBinaryImageEditProperties
MVCxColumnBinaryImageEditProperties
MVCxColumnImageEditProperties
MVCxImageEditProperties

Example

<dx:ASPxGridView ID="grid" runat="server" DataSourceID="MasterDataSource" Width="100%" AutoGenerateColumns="False" KeyFieldName="CategoryID">
     <Columns>
          <dx:GridViewDataTextColumn FieldName="CategoryID" />
          <dx:GridViewDataTextColumn FieldName="CategoryName" />
          <dx:GridViewDataTextColumn FieldName="Description" />
          <dx:GridViewDataBinaryImageColumn FieldName="Picture">
               <PropertiesBinaryImage ImageWidth="120" ImageHeight="80">
                    <ExportImageSettings Width="90" Height="60" SizeMode="AutoSize"/>
               </PropertiesBinaryImage>
          </dx:GridViewDataBinaryImageColumn>
     </Columns>
     ...
</dx:ASPxGridView>
See Also