Xamarin.Android

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

    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.m_propertiesHash
    FormatBase.m_oldPropertiesHash
    FormatBase.ImportContainer(FormatBase)
    FormatBase.ImportMembers(FormatBase)
    FormatBase.HasKey(Int32)
    FormatBase.HasBoolKey(Int32)
    FormatBase.ClearFormatting()
    FormatBase.GetDefComposite(Int32)
    FormatBase.OnChange(FormatBase, Int32)
    FormatBase.EnsureComposites()
    FormatBase.EnsureComposites(Int32[])
    FormatBase.GetBaseKey(Int32)
    FormatBase.GetFullKey(Int32)
    FormatBase.GetDefComposite(Int32, FormatBase)
    FormatBase.Item[Int32]
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.CloneImpl()
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.InitXDLSHolder()
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    OwnerHolder.m_doc
    OwnerHolder.Document
    Namespace: Syncfusion.DocIO.DLS
    Assembly: Syncfusion.DocIO.Portable.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 - 2023 Syncfusion Inc. All Rights Reserved