Windward Engine API Reference
ReportImage Constructor(Stream,FORMAT,Int32)
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > ReportImage Class > ReportImage Constructor : ReportImage Constructor(Stream,FORMAT,Int32)




template
The report template
imageFormat
The bitmap format for the pages. One of the BITMAP_* enums.
dpi
The Dots Per Inch to render the bitmaps at.

Glossary Item Box

Create a ProcessImage object with the passed in template. Objects created with this constructor must call processSetup, processData, and processComplete.Objects created with this constructor cannot call process. The report will be in the requested bitmap format. Use this constructor for raster (need DPI) formats.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal template As Stream, _
   ByVal imageFormat As ReportImage.FORMAT, _
   ByVal dpi As Integer _
)
Visual Basic (Usage)Copy Code
Dim template As Stream
Dim imageFormat As ReportImage.FORMAT
Dim dpi As Integer
 
Dim instance As New ReportImage(template, imageFormat, dpi)
C# 
public ReportImage( 
   Stream template,
   ReportImage.FORMAT imageFormat,
   int dpi
)
Managed Extensions for C++ 
public: ReportImage( 
   Stream* template,
   ReportImage.FORMAT imageFormat,
   int dpi
)
C++/CLI 
public:
ReportImage( 
   Stream^ template,
   ReportImage.FORMAT imageFormat,
   int dpi
)

Parameters

template
The report template
imageFormat
The bitmap format for the pages. One of the BITMAP_* enums.
dpi
The Dots Per Inch to render the bitmaps at.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.