Search Results for

    Show / Hide Table of Contents

    Class PageSetup

    Inheritance
    System.Object
    PageSetup
    Namespace: IronWord.Models
    Assembly: IronWord.dll
    Syntax
    public class PageSetup : Object

    Constructors

    PageSetup()

    Declaration
    public PageSetup()

    Properties

    BottomMargin

    Declaration
    public double BottomMargin { get; set; }
    Property Value
    Type Description
    System.Double

    Footer

    Declaration
    public double Footer { get; set; }
    Property Value
    Type Description
    System.Double

    Gutter

    Declaration
    public double Gutter { get; set; }
    Property Value
    Type Description
    System.Double

    Header

    Declaration
    public double Header { get; set; }
    Property Value
    Type Description
    System.Double

    LeftMargin

    Declaration
    public double LeftMargin { get; set; }
    Property Value
    Type Description
    System.Double

    Orientation

    Declaration
    public PageOrientation Orientation { get; set; }
    Property Value
    Type Description
    PageOrientation

    PaperSize

    Declaration
    public PaperSize PaperSize { get; set; }
    Property Value
    Type Description
    PaperSize

    RightMargin

    Declaration
    public double RightMargin { get; set; }
    Property Value
    Type Description
    System.Double

    TopMargin

    Declaration
    public double TopMargin { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    GetBottomMargin(Units)

    Declaration
    public double GetBottomMargin(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetFooterHeight(Units)

    Declaration
    public double GetFooterHeight(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetGutter(Units)

    Declaration
    public double GetGutter(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetHeaderHeight(Units)

    Declaration
    public double GetHeaderHeight(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetHeight(Units)

    Declaration
    public double GetHeight(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetLeftMargin(Units)

    Declaration
    public double GetLeftMargin(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetRightMargin(Units)

    Declaration
    public double GetRightMargin(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetTopMargin(Units)

    Declaration
    public double GetTopMargin(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    GetWidth(Units)

    Declaration
    public double GetWidth(Units measurementUnit)
    Parameters
    Type Name Description
    Units measurementUnit
    Returns
    Type Description
    System.Double

    SetBottomMargin(Double, Units)

    Declaration
    public void SetBottomMargin(double bottomMargin, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double bottomMargin
    Units measurementUnit

    SetCustomPaperSize(Double, Double, Units)

    Declaration
    public void SetCustomPaperSize(double width, double height, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double width
    System.Double height
    Units measurementUnit

    SetCustomPaperSize(Int32, Int32)

    Declaration
    public void SetCustomPaperSize(int width, int height)
    Parameters
    Type Name Description
    System.Int32 width
    System.Int32 height

    SetFooterHeight(Double, Units)

    Declaration
    public void SetFooterHeight(double footerHeight, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double footerHeight
    Units measurementUnit

    SetGutter(Int32, Units)

    Declaration
    public void SetGutter(int gutter, Units measurementUnit)
    Parameters
    Type Name Description
    System.Int32 gutter
    Units measurementUnit

    SetHeaderHeight(Int32, Units)

    Declaration
    public void SetHeaderHeight(int headerHeight, Units measurementUnit)
    Parameters
    Type Name Description
    System.Int32 headerHeight
    Units measurementUnit

    SetLeftMargin(Int32, Units)

    Declaration
    public void SetLeftMargin(int leftMargin, Units measurementUnit)
    Parameters
    Type Name Description
    System.Int32 leftMargin
    Units measurementUnit

    SetRightMargin(Double, Units)

    Declaration
    public void SetRightMargin(double rightMargin, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double rightMargin
    Units measurementUnit

    SetTopMargin(Double, Units)

    Declaration
    public void SetTopMargin(double topMargin, Units measurementUnit)
    Parameters
    Type Name Description
    System.Double topMargin
    Units measurementUnit
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronWord to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronWord free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.