Image Pass-Through Attribute Properties

Pass-Through Attribute

Description

Offset

Some images contain a binary header that must be removed when displaying the image.  When extracting an image from the database to be displayed, this header may be removed using the Offset pass-through attribute in conjunction with the ImageUrlFormat pass-through attribute.

For example, the Offset must be changed to 78 because the Northwind database and its copy Southwind contain a 78-byte header.  This header is an OLE DB header that was placed by Microsoft.  Images stored by you may not have a header or may have a smaller or larger header.  The Offset indicates the size of the header.

..\ExportFieldValue.aspx?Table=Employees&Field=Photo&Record={0}&Offset=78

ASP.NET Control Properties

The ASP.NET controls have a wide variety of properties that can be used to govern the controls’ behaviors.  You can enter any .NET control property into the Attributes tab and Iron Speed Designer will insert them into the generated control tags.

Pass-Through Attribute

Description

Height

The height of the image, if you wish to force a particular height.

Applies To

Image

Width

The width of the image, if you wish to force a particular width.

Applies To

Image

See also

Pass-Through Attributes

Image Tag