ImageMan ActiveX Control Version 8
EmbedOffset Property
See Also  Example  Send comments on this topic.

Glossary Item Box

Description

Specifies the byte offset of the begining of the image when embedded in another file.

Property type

Read-write property

Syntax

Visual Basic
Public Property EmbedOffset As Long

Remarks

This property is used in conjunction with the EmbedLength property to load images that are embedded in other files.

This property must be set prior to setting the Picture property to load the embedded image.

Example

(Visual Basic)Copy Code
' Load an image that is embedded in the file sample.dat
' The image starts at byte offset 1024 and is 25000 bytes in length
ImageControl1.EmbedOffset = 1024
ImageControl1.EmbedLength = 25000

ImageControl1.Picture = "sample.dat" ' Load the image

See Also

© 2014 Data Techniques Inc. All Rights Reserved.