ImageGear v26.0 - Updated
CopyTo Method (ImGearRasterPage)




ImageGear.Core Assembly > ImageGear.Core Namespace > ImGearRasterPage Class : CopyTo Method
Object to copy the new image data to.
Makes a copy of the raster page's image data and gives the new image data to the destination object.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal destination As Object _
) 
'Usage
 
Dim instance As ImGearRasterPage
Dim destination As Object
 
instance.CopyTo(destination)
public void CopyTo( 
   object destination
)
public: void CopyTo( 
   Object* destination
) 
public:
void CopyTo( 
   Object^ destination
) 

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

Reference

ImGearRasterPage Class
ImGearRasterPage Members

Is this page helpful?
Yes No
Thanks for your feedback.