MindFusion.Reporting for Silverlight Programmer's Guide
Report.Layout Method
See Also
 





Layouts the report on a page with the specified size, margin and orientation.

Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight

 Syntax

C#  Copy Code

public ReportLayout Layout (
    Size paperSize,
    Thickness margin,
    PageOrientation defaultOrientation
)

Visual Basic  Copy Code

Public Function Layout ( _
    paperSize As Size, _
    margin As Thickness, _
    defaultOrientation As PageOrientation _
) As ReportLayout

 Parameters

paperSize

The size of the paper.

margin

The distance between the paper border and contents.

defaultOrientation

The page orientation.

 Return Value

An object encapsulating information about the layout of this report on paper with the specified attributes. This object can be used to render the report.

 Remarks

Calling this method on a report which has not been processed by a call to its Run method will result in an InvalidOperationException.

 See Also

Report Members
Report Class
MindFusion.Reporting.Silverlight Namespace
Run Method