Cuminas DjVu SDK for .NET Framework
SaveImageAs(String,ImageFormat,Int32,Rectangle,Size) Method



File name of the output file.
One of ImageFormat Enumeration values to specify the image format.
Image quality in 0 (worst) to 100 (best). The parameter is used only for JPEG images.
Area on the page image to draw.
Whole page image size, by which the area is defined.
Save page image to file.
Syntax
Public Overloads Sub SaveImageAs( _
   ByVal fileName As String, _
   ByVal format As ImageFormat, _
   ByVal quality As Integer, _
   ByVal rect As Rectangle, _
   ByVal imageSize As Size _
) 
Dim instance As Page
Dim fileName As String
Dim format As ImageFormat
Dim quality As Integer
Dim rect As Rectangle
Dim imageSize As Size
 
instance.SaveImageAs(fileName, format, quality, rect, imageSize)

Parameters

fileName
File name of the output file.
format
One of ImageFormat Enumeration values to specify the image format.
quality
Image quality in 0 (worst) to 100 (best). The parameter is used only for JPEG images.
rect
Area on the page image to draw.
imageSize
Whole page image size, by which the area is defined.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Page Class
Page Members
Overload List

Send Feedback