GemBox.Presentation
  • Overview
  • Examples
  • Free version
  • Support
  • Pricing

    Show / Hide Table of Contents

    PaginatorOptions Class

    Namespace:
    GemBox.Presentation
    Assembly:
    GemBox.Presentation.dll

    Represents options used to specify which parts of the presentation to update while paginating it.

    • C#
    • VB.NET
    public sealed class PaginatorOptions
    Public NotInheritable Class PaginatorOptions
    Inheritance:
    System.Object
    PaginatorOptions

    Constructors

    PaginatorOptions()

    Initializes a new instance of the PaginatorOptions class.

    • C#
    • VB.NET
    public PaginatorOptions()
    Public Sub New

    Properties

    TrimExcessTableCellSpans

    Gets or sets a value indicating whether to trim excess table cell spans while paginating the presentation.

    For example, table with two rows (row 1: cell[column span = 2], cell[column span = 2]) (row 2: cell[column span = 4]) will be trimmed to (row 1: cell[column span = 1], cell[column span = 1]) (row 2: cell[column span = 2]).

    • C#
    • VB.NET
    public bool TrimExcessTableCellSpans { get; set; }
    Public Property TrimExcessTableCellSpans As Boolean
    Property Value
    System.Boolean

    true to trim excess table cell spans while paginating the presentation; otherwise, false.

    UpdateTableColumnWidths

    Gets or sets a value indicating whether to update table column widths while paginating the presentation.

    Width will be set to a value calculated while paginating the presentation for each column in a table.

    • C#
    • VB.NET
    public bool UpdateTableColumnWidths { get; set; }
    Public Property UpdateTableColumnWidths As Boolean
    Property Value
    System.Boolean

    true to update table column widths while paginating the presentation; otherwise, false.

    UpdateTableRowHeights

    Gets or sets a value indicating whether to update table row heights while paginating the presentation.

    Height will be set to a value calculated while paginating the presentation for each row in a table.

    • C#
    • VB.NET
    public bool UpdateTableRowHeights { get; set; }
    Public Property UpdateTableRowHeights As Boolean
    Property Value
    System.Boolean

    true to update table row heights while paginating the presentation; otherwise, false.

    UseAdvancedTextFormatting

    Gets or sets a value indicating whether to do text layout using advanced text formatting implementation such as those from Windows Presentation Foundation (WPF) or HarfBuzz text-shaping engine, or to use the default primitive implementation.

    Default value is false for improved performance and stability of the output because advanced text formatting is required only for complex scripts or advanced typography features.

    • C#
    • VB.NET
    public bool UseAdvancedTextFormatting { get; set; }
    Public Property UseAdvancedTextFormatting As Boolean
    Property Value
    System.Boolean

    true to do text layout using advanced text formatting implementation; otherwise false to use the default primitive implementation.

    Events

    ProgressChanged

    Occurs when paginating progress of a file has changed.

    • C#
    • VB.NET
    public event EventHandler<OperationProgressChangedEventArgs> ProgressChanged
    Public Event ProgressChanged As EventHandler(Of OperationProgressChangedEventArgs)
    Event Type
    System.EventHandler<OperationProgressChangedEventArgs>

    See Also

    GetPaginator(PaginatorOptions)
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.