GetImage
and
GetImage(resolution)
are used to get a raster image representation of this page. All document types support this method and it will always return a value object.
SetImage
is used to replace the raster image of the page.
IsImageModified
is used as a flag that indicates that the image of this page has been replaced by the user.
This method works as follows (the "item" is a raster image with the specified resolution):
This method requires that the owner document uses a cache system (
LEADDocument.HasCache
is
true
); otherwise, an exception will be thrown.
If the value of the
IsReadOnly
property of
LEADDocument
is
true
, then the user cannot modify this document and an exception will be thrown.
All previously saved raster image objects for this page are purged from the cache.
4.An
image
is added to the cache by serializing the
RasterImage
object. The original object is not disposed and is still owned by the user. If
image
is
null
, then a "null" item is added to the cache.