PageInfo
This read-only class provides information about the current page while printing.
Properties
public int Column { get; internal set; }
value = pageInfo.Column
pageInfo.Column = value
Gets a one-based index of the current page in the total ColumnCount of pages to be printed for each row.
public int ColumnCount { get; internal set; }
value = pageInfo.ColumnCount
pageInfo.ColumnCount = value
Gets the total number of pages to be printed in each row.
public int Count { get; internal set; }
value = pageInfo.Count
pageInfo.Count = value
Gets the total number of pages to be printed.
public Diagram Diagram { get; internal set; }
value = pageInfo.Diagram
pageInfo.Diagram = value
Gets a reference to the Diagram being printed.
public int Index { get; internal set; }
value = pageInfo.Index
pageInfo.Index = value
Gets a one-based index of the current page in the total Count of pages to be printed.
public Rect PageBounds { get; internal set; }
value = pageInfo.PageBounds
pageInfo.PageBounds = value
Gets the bounds, in model coordinates, of the whole page being printed.
public int Row { get; internal set; }
value = pageInfo.Row
pageInfo.Row = value
Gets a one-based index of the current page in the total RowCount of pages to be printed for each column.
public int RowCount { get; internal set; }
value = pageInfo.RowCount
pageInfo.RowCount = value
Gets the total number of pages to be printed in each column.
public double Scale { get; internal set; }
value = pageInfo.Scale
pageInfo.Scale = value
Gets the actual scale at which the diagram is being printed.
public Size Size { get; internal set; }
value = pageInfo.Size
pageInfo.Size = value
Gets the size of the current page, in device-independent pixels.
public Rect TotalBounds { get; internal set; }
value = pageInfo.TotalBounds
pageInfo.TotalBounds = value
Gets the bounds, in model coordinates, of the total area of the diagram being printed.
public Rect Viewport { get; internal set; }
value = pageInfo.Viewport
pageInfo.Viewport = value
Gets the size and location of the diagram area (within the margins), in device-independent pixels.
public Rect ViewportBounds { get; internal set; }
value = pageInfo.ViewportBounds
pageInfo.ViewportBounds = value
Gets the bounds, in model coordinates, of the area being printed for this page.