Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IPrinting Interface / PrinterMarginTop Property


In This Topic
    PrinterMarginTop Property
    In This Topic

    Gets or sets the size of the top margin of printed output.

    Syntax
    'Declaration
     
    
    Property PrinterMarginTop As Integer
    'Usage
     
    
    Dim instance As IPrinting
    Dim value As Integer
     
    instance.PrinterMarginTop = value
     
    value = instance.PrinterMarginTop
    int PrinterMarginTop {get; set;}

    Property Value

    The value is in "twips" (a twip is one twentieth of a point). There are 1440 twips to an inch.

    The default is 1440. The range of values is 0-32767.

    Remarks

    Changing the margin size changes the font size of the printed output.

    See Also