Renders the container into the specified image.
public RasterImage RenderOnImage(
RasterImage image,
int pageNumber
)
public:
RasterImage^ RenderOnImage(
RasterImage^ image,
Int32 pageNumber
)
image
The target RasterImage.
pageNumber
The container page number to render on the specified image.
The resulting image containing the original image data plus the objects of the container overlaid on top.
The method can be used to quickly accomplish the following:
Render the container on a smaller image, for example to create a thumbnail: Create a smaller version of the original image at the desired size and then pass it to RenderOnImage.
Render the container on an image used for printing. Create a temporary image, renders the container on it and then prints the resulting image.
Render the container on an image for saving to an external file or taking a screenshot of the current container.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document