PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / DefaultUnit Property

In This Topic
    DefaultUnit Property (SampleC1PrintDocument)
    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 C1.C1Preview.UnitTypeEnum.Inch.

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