GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PageMargins Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents page margins.

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

    Constructors

    PageMargins()

    Initializes a new instance of the PageMargins class.

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

    Properties

    Bottom

    Gets or sets the bottom margin (in points).

    • C#
    • VB.NET
    public double Bottom { get; set; }
    Public Property Bottom As Double
    Property Value
    System.Double

    The bottom margin.

    Remarks

    Default value for this property is 70.85 points (0.98 inch).

    Footer

    Gets or sets the footer margin (in points).

    • C#
    • VB.NET
    public double Footer { get; set; }
    Public Property Footer As Double
    Property Value
    System.Double

    The footer margin.

    Remarks

    Default value for this property is 35.4 points (0.49 inch).

    Gutter

    Gets or sets the gutter margin (in points).

    • C#
    • VB.NET
    public double Gutter { get; set; }
    Public Property Gutter As Double
    Property Value
    System.Double

    The gutter margin.

    Header

    Gets or sets the header margin (in points).

    • C#
    • VB.NET
    public double Header { get; set; }
    Public Property Header As Double
    Property Value
    System.Double

    The header margin.

    Remarks

    Default value for this property is 35.4 points (0.49 inch).

    Left

    Gets or sets the left margin (in points).

    • C#
    • VB.NET
    public double Left { get; set; }
    Public Property Left As Double
    Property Value
    System.Double

    The left margin.

    Remarks

    Default value for this property is 70.85 points (0.98 inch).

    Right

    Gets or sets the right margin (in points).

    • C#
    • VB.NET
    public double Right { get; set; }
    Public Property Right As Double
    Property Value
    System.Double

    The right margin.

    Remarks

    Default value for this property is 70.85 points (0.98 inch).

    Top

    Gets or sets the top margin (in points).

    • C#
    • VB.NET
    public double Top { get; set; }
    Public Property Top As Double
    Property Value
    System.Double

    The top margin.

    Remarks

    Default value for this property is 70.85 points (0.98 inch).

    Methods

    Clone()

    Clones this PageMargins instance.

    • C#
    • VB.NET
    public PageMargins Clone()
    Public Function Clone As PageMargins
    Returns
    PageMargins

    Cloned PageMargins.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.