ImgEdit User Control

ImgEdit Class Library

ImgEdit.SaveImageAs(String,ImgEdit.OutputFormat,ImgEdit.CompressionEnum, _

[Boolean],[Integer])

 

Saves the image with the selected compression and the selected image type.

 

[Visual Basic]

Public Sub SaveImageAs( _

ByVal Filename As String, _

ByVal ImageFormat As ImgEdit.OutputFormat, _

ByVal ImageCompression As ImgEdit.CompressionEnum, _

Optional ByVal SaveSelectedPage As Boolean = False, _

Optional ByVal JPGQuality As Integer = 100)

 

Parameters

    Filename

        The output image filename.

    ImageFormat

        The image output format.

    ImageCompression

        The image output compression.

    SaveSelectedPage

        Save the selected page only. This parameter is optional.

    JPGQuality

        The quality of the jpg image. This parameter is optional.

 

Return Value

    None

 

Example

[Visual Basic] The following example saves the displayed image with the tiff CCITT4 compression.

 

[Visual Basic]

ImgEdit1.SaveImageAs("C:\Test\01.tif", ImgEdit.OutputFormat.TIF, _

ImgEdit.CompressionEnum.CCITT4)

 

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista family.

Documentation Version 1.6