• IronPDF .NET API - v2025.5.6
  • Tutorials
  • Licensing
  • Start for Free
  • IronPDF .NET API - v2025.5.6
  • IronPdf
  • IMargins
Search Results for

    Show / Hide Table of Contents
    • Iron.Pdf.Extensions
      • eupgtl
      • eupgtm
    • IronPdf
      • AFRelationship
      • AspxToPdf
      • AspxToPdf.FileBehavior
      • ChromeClientAccessor
      • ChromeHttpLoginCredentials
      • ChromePdfRenderer
      • ChromePdfRenderOptions
      • Cleaner
      • CleanerScanResult
      • CompressionOptions
      • ConformanceLevel
      • DocxPdfRenderOptions
      • DocxToPdfRenderer
      • EmbedFileByte
      • EmbedFileConfiguration
      • EmbedFilePath
      • EmbedFileStream
      • EmbedFileType
      • HtmlFormatOptions
      • HtmlHeaderFooter
      • ImageToPdfConverter
      • IMargins
      • Installation
      • IPdfRenderOptions
      • LayerMode
      • License
      • NaturalLanguages
      • PdfAttachment
      • PdfAttachmentCollection
      • PdfAVersions
      • PdfClientAccessor
      • PdfDocument
      • PdfDocumentExtensions
      • PdfUAVersions
      • PixelFormat
      • PropertyVersion
      • SchemaNamespace
      • SchemaPrefix
      • TableOfContentsTypes
      • TextAlignment
      • TextExtractionOrder
      • TextHeaderFooter
      • UseMargins
    • IronPdf.Annotations
      • IAnnotation
      • PdfAnnotation
      • PdfAnnotationCollection
      • PdfAnnotationType
      • PdfFreeTextAnnotation
      • PdfLinkAnnotation
      • PdfTextAnnotation
      • TextAnnotation
      • TextAnnotation.AnnotationIcon
    • IronPdf.Bookmarks
      • BookmarkDestinations
      • IPdfBookMarkCollection
      • PdfBookMark
      • PdfBookMarkCollection
    • IronPdf.DocX
      • MailMergeTemplate
    • IronPdf.Editing
      • BarcodeEncoding
      • BarcodeStamper
      • HorizontalAlignment
      • HtmlStamper
      • ImageStamper
      • Length
      • MeasurementUnit
      • Stamper
      • StampLayer
      • TextStamper
      • VerticalAlignment
    • IronPdf.Engines
      • SystemClientAccessor
    • IronPdf.Engines.Chrome
      • ChromeGpuModes
      • VirtualPaperLayoutManager
      • VirtualPaperLayoutManager1
      • WaitFor
    • IronPdf.Engines.Marshalers
      • StringDelegate
    • IronPdf.Exceptions
      • IronPdfAssemblyVersionMismatchException
      • IronPdfNativeException
      • IronPdfProductException
      • IronPdfUnsupportedException
    • IronPdf.Extensions
      • ConversionExtensions
    • IronPdf.Fonts
      • FontType
      • PdfFont
      • PdfFontCollection
      • StandardFont
    • IronPdf.GrpcLayer
      • IronPdfConnectionConfiguration
      • IronPdfConnectionType
    • IronPdf.Imaging
      • ImageBehavior
      • ImageType
    • IronPdf.Logging
      • Logger
      • Logger.LoggingModes
    • IronPdf.MetaData
      • PdfCustomMetadataProperties
      • PdfMetaData
    • IronPdf.Pages
      • IPdfPage
      • IPdfPageCollection
      • LineTextObject
      • PdfPage
      • PdfPageModel
      • PdfPagesCollection
    • IronPdf.PrintDoc
      • PdfPrintDocument
      • PdfPrintMultiplePages
      • PdfPrintSettings
    • IronPdf.Rendering
      • ChangeTrackingModes
      • PdfCssMediaType
      • PdfPageRotation
      • PdfPaperOrientation
      • PdfPaperSize
      • PdfPaperSizeConverter
      • PdfRenderingEngine
      • RequestContexts
    • IronPdf.Security
      • PdfEditSecurity
      • PdfPrintSecurity
      • PdfSecuritySettings
    • IronPdf.Signing
      • PdfSignature
      • PdfSignatureExtensions
      • PdfSignatureImage
      • SignaturePermissions
      • TimestampHashAlgorithms
    • IronPdf.Signing.Inspection
      • VerifiedSignature
    • IronSoftware
      • CharObjectCollection
      • CidGlyphWidths
      • FontObject
      • FormFieldCollection
      • ICidGlyphWidths
      • ImageObject
      • ImageObjectCollection
      • IPdfDocumentObject
      • IPdfFontObject
      • IPdfFontObjectCollection
      • IPdfImageObject
      • IPdfImageObjectCollection
      • IPdfPathObject
      • IPdfPathObjectCollection
      • IPdfTextObject
      • IPdfTextObjectCollection
      • PathObject
      • PathObjectCollection
      • PathSegment
      • TextObject
      • TextObjectCollection
    • IronSoftware.Deployment
      • BaseVersionFactory
      • SmartDeploymentBase
    • IronSoftware.Exceptions
      • ExceptionHelper
      • IronPdfInputException
      • IronSoftwareAssemblyLoadException
      • IronSoftwareAssemblyMissingException
      • IronSoftwareAssemblyVersionMismatchException
      • IronSoftwareDeploymentConfigurationMissingException
      • IronSoftwareDeploymentException
      • IronSoftwareDeploymentNotSupportedException
      • IronSoftwareDownloadException
      • IronSoftwareEmbeddedDeploymentException
      • IronSoftwareEmbeddedDeploymentMissingException
      • IronSoftwareNativeException
      • LicensingException
    • IronSoftware.Forms
      • CheckboxFormField
      • ComboboxFormField
      • FormFieldAnnotation
      • ICheckableFormField
      • IFormField
      • IFormFieldAnnotation
      • IFormFieldAnnotationObject
      • IFormFieldCollection
      • IFormFieldObject
      • ImageFormField
      • RadioFormField
      • SignatureFormField
      • TextFormField
    • IronSoftware.Pdfium
      • BitmapRenderOptions
      • IMarshalableStruct
      • IPdfMetaData
      • PdfAnnotationFlags
      • PdfClient<T>
      • PdfDateFormatter
      • PdfDocumentPermissions
      • PdfFlattenResults
      • PdfFlattenStyles
      • PdfFormFieldFlags
      • PdfFormFieldType
      • PdfImageExtractionOptions
      • PdfiumBookmarkDescriptor
      • PdfiumDeploymentBase
    • IronSoftware.Pdfium.Dom
      • IPdfPageObjectModel
    • IronSoftware.Pdfium.Dom.Encoding
      • EncodingsRegistry
    • PdfToSvg
      • DocumentInfo
      • DocumentPermissions
      • FileAttachment
      • FileAttachmentCollection
      • Font
      • FontResolver
      • FontStyle
      • FontWeight
      • Image
      • ImageEnumerable
      • ImageResolver
      • InlinedFont
      • InvalidCredentialException
      • LocalFont
      • OpenOptions
      • OptionalContentGroup
      • OptionalContentGroupCollection
      • PdfDocument
      • PdfException
      • PdfPage
      • PdfPageCollection
      • PermissionException
      • SourceFont
      • SvgConversionOptions
      • WebFont

    Interface IMargins

    Document margin values, in millimeters

    Namespace: IronPdf
    Assembly: IronPdf.dll
    Syntax
    public interface IMargins

    Properties

    MarginBottom

    Bottom Pdf "paper" margin in millimeters. Set to zero for border-less and commercial printing applications.

    Default value is 25.

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

    MarginLeft

    Left Pdf "paper" margin in millimeters. Set to zero for border-less and commercial printing applications.

    Default value is 25.

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

    MarginRight

    Right Pdf "paper" margin in millimeters. Set to zero for border-less and commercial printing applications.

    Default value is 25.

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

    MarginTop

    Top Pdf "paper" margin in millimeters. Set to zero for border-less and commercial printing applications.

    Default value is 25.

    Declaration
    double MarginTop { get; set; }
    Property Value
    Type Description
    System.Double
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    • Properties
      • MarginBottom
      • MarginLeft
      • MarginRight
      • MarginTop
    Back to top
    Install with Nuget
    Want to deploy IronPDF 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.
    Your trial license will be sent to this address
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.