Padding class
Leave feedback
On this page
Represents padding or margin information associated with element.
The Padding type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the Padding class with zero values. |
| init | Initializes a new instance of the Padding class using the supplied padding size for all edges. |
| init | Initializes a new instance of the Padding class using the supplied padding sizes. |
| Method | Description |
|---|---|
| clone | Gets a copy of this object. |
| Property | Description |
|---|---|
| all | The padding value for all edges. |
| bottom | The padding value for the bottom edge. |
| horizontal | The combined padding for the right and left edges. |
| left | The padding value for the left edge. |
| right | The padding value for the right edge. |
| top | The padding value for the top edge. |
| vertical | The combined padding for the top and bottom edges. |
| Field | Description |
|---|---|
| EMPTY | Provides a Padding object with no padding. |
from groupdocs.signature.domain import Padding
# Uniform padding of 5 units on all sides
uniform = Padding(5)
# Specific padding on right and bottom
custom = Padding(right=40, bottom=60)
Task guides that use Padding:
- eSign Document with Text Signature
- eSign Document with Image Signature
- eSign Document with Barcode Signature
- eSign Document with QR Code Signature
- eSign Document with Multiple Signatures
- module
groupdocs.signature.domain
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.