PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / DefaultUnit Property

In This Topic
    DefaultUnit Property (C1PrintDocument)
    In This Topic
    Gets or sets the default unit of measurement for the current document. This unit is used when sizes or coordinates of objects within the document are set without specifying the unit of measurement explicitly.

    The default value is UnitTypeEnum.Inch.

    Syntax
    'Declaration
     
    Public Property DefaultUnit As UnitTypeEnum
    public UnitTypeEnum DefaultUnit {get; set;}
    See Also