Tab

ExportBinaryImageSettings.Width Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.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
ASP.NET MVC Extensions 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