Spread Windows Forms 7.0 Product Documentation
PrintPageOrder Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : PrintPageOrder Enumeration


Glossary Item Box

Specifies the order in which pages are printed.

Syntax

Visual Basic (Declaration) 
Public Enum PrintPageOrder 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As PrintPageOrder
C# 
public enum PrintPageOrder : System.Enum 

Members

MemberDescription
Auto[0] Automatically determines the best order for printing pages
DownThenOver[1] Prints pages down then across
OverThenDown[2] Prints pages across then down

Remarks

For more information about printing, refer to Managing Printing.

Example

C#Copy Code
FarPoint.Win.Spread.PrintMargin pm = new FarPoint.Win.Spread.PrintMargin(5, 5, 5, 5, 5, 5);
FarPoint.Win.Spread.PrintInfo pi = new FarPoint.Win.Spread.PrintInfo("Header", "", "", pm, FarPoint.Win.Spread.PrintOrientation.Landscape,
FarPoint.Win.Spread.PrintPageOrder.Auto, 
true, true, true, true, true, true, true, FarPoint.Win.Spread.PrintType.CurrentPage, 0, 2, 0, 2, 1, 1, true, true, true, 2,
false, "", 1, true);
fpSpread1.ActiveSheet.ColumnCount = 5;
fpSpread1.ActiveSheet.RowCount = 5;
fpSpread1.ActiveSheet.PrintInfo = pi;
Visual BasicCopy Code
Dim pm As New FarPoint.Win.Spread.PrintMargin(5, 5, 5, 5, 5, 5)
Dim pi As New FarPoint.Win.Spread.PrintInfo("Header", "", "", pm, FarPoint.Win.Spread.PrintOrientation.Landscape, FarPoint.Win.Spread.PrintPageOrder.Auto,
True, True, True, True, True, True, True, FarPoint.Win.Spread.PrintType.CurrentPage, 0, 2, 0, 2, 1, 1, True, True, True, 2,
False, "", 1, True)
FpSpread1.ActiveSheet.ColumnCount = 5
FpSpread1.ActiveSheet.RowCount = 5
FpSpread1.ActiveSheet.PrintInfo = pi

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.PrintPageOrder

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.