Gets a raster image of a page.
Public Function GetImage(
ByVal sourceRect As LeadRect,
ByVal imageSize As LeadSize,
ByVal cache As Boolean
) As RasterImage
The area, in pixels, of the page to render.
The output size, in pixels, of the returned image.
If true, the returned image will be stored for reuse. If the other parameters match the stored image, then the stored image will be returned.
If false, the stored image will not be saved or reused.
A Leadtools.RasterImage that represents the rendering of the requested page.
If cache is true, then the returned image should not be disposed or stored. It can be internally disposed in the next call to this method. If cache is false, then the returned image may be saved and/or disposed.
Call the ClearCache method to dispose the stored image, if needed. However, it will be automatically disposed when the IPageRasterizer is disposed.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries