[]
        
(Showing Draft Content)

C1.C1Preview.Offsets

Offsets Struct

A structure representing four Unit values corresponding to the four sides of a rectangluar area. Used by Padding and Spacing properties.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public struct Offsets

Constructors

Name Description
Offsets(Unit)

Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.

Offsets(string)

Initializes a new instance of the Offsets structure, assigning a single value to all four offset properties.

Offsets(string, string, string, string)

Initializes a new instance of the Offsets structure, assigning the Left, Top, Right and Bottom values.

Properties

Name Description
All

Sets all four offset values.

Bottom

Gets or sets the bottom offset value.

BottomExpr

Gets or sets the expression used to calculate Bottom.

Left

Gets or sets the left offset value.

LeftExpr

Gets or sets the expression used to calculate Left.

Right

Gets or sets the right offset value.

RightExpr

Gets or sets the expression used to calculate Right.

Top

Gets or sets the top offset value.

TopExpr

Gets or sets the expression used to calculate Top.