ExportBinaryImageSettings.Width Property
In This Article
Specifies the width of the binary image when it is exported.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#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:
Object Type | Path to Width |
---|---|
Binary |
|
Image |
|
#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