• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF.Layout
  • TallComponents.PDF.Layout.Actions
  • TallComponents.PDF.Layout.Brushes
  • TallComponents.PDF.Layout.Colors
  • TallComponents.PDF.Layout.Css
  • TallComponents.PDF.Layout.Fonts
  • TallComponents.PDF.Layout.JavaScript
  • TallComponents.PDF.Layout.Metadata
  • TallComponents.PDF.Layout.Navigation
  • TallComponents.PDF.Layout.Paragraphs
  • TallComponents.PDF.Layout.Pens
  • TallComponents.PDF.Layout.ResourceLoader
  • TallComponents.PDF.Layout.Security
  • TallComponents.PDF.Layout.Shapes
  • TallComponents.PDF.Layout.Shapes.Annotations
  • TallComponents.PDF.Layout.Shapes.Barcodes
  • TallComponents.PDF.Layout.Shapes.Fields
  • TallComponents.PDF.Layout.Xml

Namespace TallComponents.PDF.Layout

Class Spacing

Spacing is used to define Margin and Padding.

Syntax

public class Spacing : Object

Constructors

Spacing()
Initializes a new instance of the Spacing class.
Spacing(Double)
Initializes a new instance of the Spacing class with the given spacing.
Spacing(Double,Double,Double,Double)
Initializes a new instance of the Spacing class with the given spacing.

Properties

Double Bottom
Spacing below.
Double Left
Spacing on the left side
Double Right
Spacing on the right side
Double Top
Spacing above.

Methods

Spacing Clone()
Clones a Spacing.
Void CopyFrom(Spacing)
Copy the values for left, right, top and bottom from another Spacing object.

Operators

Implicit conversion from System.Double
Set the Left, Right, Top and Bottom values to the same value.
Implicit conversion from TallComponents.PDF.Layout.Unit
Set the Left, Right, Top and Bottom values to the same value.
Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Code samples
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2025 TallComponents BV. All rights reserved.