Skip to main content
Tab

ExportBinaryImageSettings.Height Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Int32 0

A Int32 value that is the height of the exported image. By default 40px.

Property Paths

You can access this nested property as listed below:

Object Type Path to Height
BinaryImageEditProperties
ImageEditPropertiesBase

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