Table of Contents

Enum PortUnit

Namespace
RDCore.Forms.Porting
Assembly
RDCore.Forms.dll

What converting a member's values from the legacy library to RDForms involves: a Unit.

public enum PortUnit

Fields

ContainerLength = 2

The member is a length in the scale of the control's container: its ScaleMode, twips by default. A VB6 control's Left, Top, Width and Height are such lengths. Converting one to DIP takes the container's scale, which the designer file gives.

Length = 1

The member is a length in the library's LegacyUnit, and converts to DIP by a constant.

None = 0

The member is not a length: its values need no unit conversion.