PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / Style Class / Padding Property

In This Topic
    Padding Property (Style)
    In This Topic
    Gets or sets the padding (white space added between the style owner's content and borders).
    Syntax
    'Declaration
     
    Public Property Padding As IOffsets
    public IOffsets Padding {get; set;}
    Remarks
    Padding is within Style.Borders (if any), while Style.Spacing is added outside of borders.

    This property is non-ambient (inherited from the Style.Parent of the current style if not explicitly set).

    The default is no padding.

    See Also