Intersoft WebGrid Documentation
DynARInfo Constructor(PaperKind,PageOrientation,Margins,DynARFonts,String,String,String,Boolean,Boolean,Boolean)
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > DynARInfo Class > DynARInfo Constructor : DynARInfo Constructor(PaperKind,PageOrientation,Margins,DynARFonts,String,String,String,Boolean,Boolean,Boolean)






paperKind
The kind of paper used for report.
pageOrientation
The orientation of page used for report.
margins
The margins specified for printed report.
dynARFonts
The type of fonts used for report
reportType
The file type of report.
reportPath
Full physical path of temporary report folder.
reportName
The file name of report.
isShowParent
The report header info specified.
isAlwaysShowTime
The time information showed at page header.
isAlwaysShowTotalPage
The total calculation showed at report footer
Initializes a new instance of the DynARInfo class using paperKind, pageOrientation, margins, dynARFonts, reportType, reportPath, reportName, isShowParent, isAlwaysShowTime, and isAlwaysShowTotalPage.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal paperKind As PaperKind, _
   ByVal pageOrientation As PageOrientation, _
   ByVal margins As Margins, _
   ByVal dynARFonts As DynARFonts, _
   ByVal reportType As String, _
   ByVal reportPath As String, _
   ByVal reportName As String, _
   ByVal isShowParent As Boolean, _
   ByVal isAlwaysShowTime As Boolean, _
   ByVal isAlwaysShowTotalPage As Boolean _
)
Visual Basic (Usage)Copy Code
Dim paperKind As PaperKind
Dim pageOrientation As PageOrientation
Dim margins As Margins
Dim dynARFonts As DynARFonts
Dim reportType As String
Dim reportPath As String
Dim reportName As String
Dim isShowParent As Boolean
Dim isAlwaysShowTime As Boolean
Dim isAlwaysShowTotalPage As Boolean
 
Dim instance As New DynARInfo(paperKind, pageOrientation, margins, dynARFonts, reportType, reportPath, reportName, isShowParent, isAlwaysShowTime, isAlwaysShowTotalPage)
C# 
public DynARInfo( 
   PaperKind paperKind,
   PageOrientation pageOrientation,
   Margins margins,
   DynARFonts dynARFonts,
   string reportType,
   string reportPath,
   string reportName,
   bool isShowParent,
   bool isAlwaysShowTime,
   bool isAlwaysShowTotalPage
)
Delphi 
public DynARInfo( 
    paperKind: PaperKind;
    pageOrientation: PageOrientation;
    margins: Margins;
    dynARFonts: DynARFonts;
    reportType: String;
    reportPath: String;
    reportName: String;
    isShowParent: Boolean;
    isAlwaysShowTime: Boolean;
    isAlwaysShowTotalPage: Boolean
); 
JScript 
public function DynARInfo( 
   paperKind : PaperKind,
   pageOrientation : PageOrientation,
   margins : Margins,
   dynARFonts : DynARFonts,
   reportType : String,
   reportPath : String,
   reportName : String,
   isShowParent : boolean,
   isAlwaysShowTime : boolean,
   isAlwaysShowTotalPage : boolean
);
Managed Extensions for C++ 
public: DynARInfo( 
   PaperKind paperKind,
   PageOrientation pageOrientation,
   Margins* margins,
   DynARFonts dynARFonts,
   string* reportType,
   string* reportPath,
   string* reportName,
   bool isShowParent,
   bool isAlwaysShowTime,
   bool isAlwaysShowTotalPage
)
C++/CLI 
public:
DynARInfo( 
   PaperKind paperKind,
   PageOrientation pageOrientation,
   Margins^ margins,
   DynARFonts dynARFonts,
   String^ reportType,
   String^ reportPath,
   String^ reportName,
   bool isShowParent,
   bool isAlwaysShowTime,
   bool isAlwaysShowTotalPage
)

Parameters

paperKind
The kind of paper used for report.
pageOrientation
The orientation of page used for report.
margins
The margins specified for printed report.
dynARFonts
The type of fonts used for report
reportType
The file type of report.
reportPath
Full physical path of temporary report folder.
reportName
The file name of report.
isShowParent
The report header info specified.
isAlwaysShowTime
The time information showed at page header.
isAlwaysShowTotalPage
The total calculation showed at report footer

Example

ISNet.WebUI.WebGrid.DynARFonts oFonts = new ISNet.WebUI.WebGrid.DynARFonts(null,null,null,null,null,null,null,null,null);

WebGrid1.ExportGrid( new ISNet.WebUI.WebGrid.DynARInfo(System.Drawing.Printing.PaperKind.A4, ISNet.WebUI.WebGrid.PageOrientation.Portrait, oMargin, oFonts,"excel","C:\\Program Files\\TempReport\\","Customers",false,true,true));

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.