alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class MarginsF

    Represents the page margins of the Word document.

    Inheritance
    System.Object
    OwnerHolder
    XDLSSerializableBase
    FormatBase
    MarginsF
    Implements
    IXDLSSerializable
    Inherited Members
    FormatBase.BaseLineAlignmentAuto
    FormatBase.BorderStyleNone
    FormatBase.BreakClearNone
    FormatBase.ByteMax
    FormatBase.CellMergeNone
    FormatBase.ChapterPageSeparatorTypeHyphen
    FormatBase.ClearFormatting()
    FormatBase.DefFontSizeSingle
    FormatBase.DefScalingSizeSingle
    FormatBase.DocTextDirectionLeftToRight
    FormatBase.DropCapNone
    FormatBase.EighteenSingle
    FormatBase.EmphasisNone
    FormatBase.EmptyColor
    FormatBase.EmptyString
    FormatBase.EndnotePosEndOfDoc
    FormatBase.EndnoteRestartDoNot
    FormatBase.EnsureComposites()
    FormatBase.EnsureComposites(Int32[])
    FormatBase.False
    FormatBase.FontHintDefault
    FormatBase.FootEndNoteNumberFormatArabic
    FormatBase.FootEndNoteNumberFormatLowerCaseRoman
    FormatBase.FootnotePosBottomOfPage
    FormatBase.FrameWrapAuto
    FormatBase.FtsWidthNone
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetDefComposite(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.GetFullKey(Int32)
    FormatBase.GridPitchNoGrid
    FormatBase.HasBoolKey(Int32)
    FormatBase.HasKey(Int32)
    FormatBase.HeadingLevelNone
    FormatBase.HorizontalAlignmentLeft
    FormatBase.HorizontalRelationColumn
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.IntMaxValue
    FormatBase.Item[Int32]
    FormatBase.LigatureNone
    FormatBase.LineNumberingNone
    FormatBase.LineSpacingRuleMultiple
    FormatBase.ListTypeNoList
    FormatBase.m_oldPropertiesHash
    FormatBase.m_propertiesHash
    FormatBase.MinDateTime
    FormatBase.MinusOneSingle
    FormatBase.NumberFormDefault
    FormatBase.NumberSpacingDefault
    FormatBase.OnChange(FormatBase, Int32)
    FormatBase.OneInt
    FormatBase.OneShort
    FormatBase.PageAlignTop
    FormatBase.PageBorderOffsetText
    FormatBase.PageBordersApplyAll
    FormatBase.PageNumberStyleArabic
    FormatBase.PageOrientPortrait
    FormatBase.RowAlignmentCenter
    FormatBase.RowAlignmentLeft
    FormatBase.RowAlignmentRight
    FormatBase.SectionBreakCodeNewPage
    FormatBase.Short1025
    FormatBase.Short1033
    FormatBase.SizeFObj
    FormatBase.StylisticSetDefault
    FormatBase.SubSuperScriptNone
    FormatBase.TextDirectionHorizontal
    FormatBase.TextEffectNone
    FormatBase.TextureStyleNone
    FormatBase.TightWrapNone
    FormatBase.True
    FormatBase.TwelveSingle
    FormatBase.TwentySingle
    FormatBase.UnderlineNone
    FormatBase.VerticalAlignmentTop
    FormatBase.VerticalRelationMargin
    FormatBase.ZeroByte
    FormatBase.ZeroInt
    FormatBase.ZeroLong
    FormatBase.ZeroSingle
    OwnerHolder.Document
    OwnerHolder.m_doc
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    XDLSSerializableBase.CloneImpl()
    XDLSSerializableBase.InitXDLSHolder()
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Base.dll
    Syntax
    public sealed class MarginsF : FormatBase, IXDLSSerializable

    Constructors

    MarginsF()

    Initializes a new instance of MarginsF class.

    Declaration
    public MarginsF()

    MarginsF(Single, Single, Single, Single)

    Initializes a new instance of MarginsF class with the specified left, top, right and bottom margin values in points.

    Declaration
    public MarginsF(float left, float top, float right, float bottom)
    Parameters
    Type Name Description
    System.Single left

    The value for left margin in points.

    System.Single top

    The value for top margin in points.

    System.Single right

    The value for right margin in points.

    System.Single bottom

    The value for bottom margin in points.

    Properties

    All

    Gets or sets the value of all the four MarginsF on one call measured in points.

    Declaration
    public float All { get; set; }
    Property Value
    Type Description
    System.Single

    The float that specifies the margin values in points.

    Bottom

    Gets or sets the bottom margin value in points.

    Declaration
    public float Bottom { get; set; }
    Property Value
    Type Description
    System.Single

    The float that specifies the bottom margin value in points.

    Left

    Gets or sets the left margin value in points.

    Declaration
    public float Left { get; set; }
    Property Value
    Type Description
    System.Single

    The float that specifies the left margin value in points.

    Right

    Gets or sets the right margin value in points.

    Declaration
    public float Right { get; set; }
    Property Value
    Type Description
    System.Single

    The float that specifies the right margin value in points.

    Top

    Gets or sets the top margin value in points.

    Declaration
    public float Top { get; set; }
    Property Value
    Type Description
    System.Single

    The float that specifies the top margin value in points.

    Methods

    Clone()

    Creates a duplicate copy of the MarginsF instance.

    Declaration
    public MarginsF Clone()
    Returns
    Type Description
    MarginsF

    The reference of the newly created MarginsF instance.

    GetDefValue(Int32)

    Returns the default values.

    Declaration
    protected override object GetDefValue(int key)
    Parameters
    Type Name Description
    System.Int32 key

    The integer that specifies the key.

    Returns
    Type Description
    System.Object

    An object that specifies the default value.

    Overrides
    FormatBase.GetDefValue(Int32)

    Implements

    IXDLSSerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved