ImageGear for .NET
CopyTo Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearRasterPage Class : CopyTo Method




destination
Object to copy the new image data to.

Glossary Item Box

Makes a copy of the raster page's image data and gives the new image data to the destination object.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

destination
Object to copy the new image data to.

Remarks

Designed to make passing image data between different Accusoft components easier, this method makes a copy of this object's image data and gives the new image data to another object which can be defined in a different Accusoft assembly. When finished, both this object and the destination object will contain separate copies of the same image data.

This method produces the new image data in one of the following pixel formats: Indexed RGB: 1, 4, 8 bpp or RGB: 24 bpp. If the raster page is not directly compatible with either of these formats, its image data will be converted to the best match.

Not all object types are valid destinations for this method. If the destination object does not support being copied to, a System.ArgumentException will be thrown. Refer to the documentation of a particular class to see if it officially supports being the destination of a CopyTo method.

If the provided destination object is an ImGearRasterPage, its internal DIB is replaced with a clone of the raster page's DIB.

See Also

©2013. Accusoft Corporation. All Rights Reserved.