Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEcopybitmaptofile Method

Scope All ProEssentials Interfaces

 

PEcopybitmaptofile (nXPixels As Integer, nYPixels As Integer, szFile As String) As Boolean

 

Parameter

Description

nXPixels

Width in Pixels, value range 32 to 2000

nYPixels

Height in Pixels, value range 32 to 2000

szFile

Name of file to create or replace.

 

This function places the current image, in the form of a bitmap, into a file named by szFile. To insure image quality, the aspect ratio (width/height) must be between 0.333 and 10.0.

 

Comments

With ActiveX interface, you can also call this function as follows...

Pego1.PEnarg1 = 'width in pixels

Pego1.PEnarg2 = 'height in pixels

Pego1.PEactions = COPY_BMP_TO_FILE

 

See Also: PEcopypngtofile, PEcopyjpegtofile, OCX Methods, PEcopybitmaptofile.

 

This method is a wrapper to the PEcopybitmaptofile DLL call.