A newer version of this page is available.
Switch to the current version.
ExportBinaryImageSettings.SizeMode Property
Specifies how an image is positioned when it is exported.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
[DefaultValue(ImageSizeMode.Squeeze)]
public ImageSizeMode SizeMode { get; set; }
<DefaultValue(ImageSizeMode.Squeeze)>
Public Property SizeMode As ImageSizeMode
Property Value
Type | Default | Description |
---|---|---|
ImageSizeMode | Squeeze |
One of the ImageSizeMode enumeration values. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to SizeMode |
---|---|---|
ASP.NET Controls and MVC Extensions | BinaryImageEditProperties |
|
ImageEditProperties |
|
|
ImageEditPropertiesBase |
|
|
MVCxBinaryImageEditProperties |
|
|
MVCxColumnBinaryImageEditProperties |
|
|
MVCxColumnImageEditProperties |
|
|
MVCxImageEditProperties |
|
|
ASP.NET Bootstrap Controls | BootstrapBinaryImageEditProperties |
|
BootstrapImageEditProperties |
|
Examples
<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
Feedback