SetPrintMargins Method (IPrintManager)

SetPrintMargins Method (IPrintManager) | Send Feedback
See Also

Top
  Top margin

Bottom
  Bottom margin

Left
  Left margin

Right
  Right margin

Sets the size of the margins for the paper size specified to use for printing.

# Syntax

Visual Basic |
--- | ---
    Sub SetPrintMargins( _
       ByVal Top As System.Double, _
       ByVal Bottom As System.Double, _
       ByVal Left As System.Double, _
       ByVal Right As System.Double _
    )

C# |
--- | ---
    void SetPrintMargins(
       System.double Top,
       System.double Bottom,
       System.double Left,
       System.double Right
    )

JavaScript |
--- | ---
    SetPrintMargins(
       Top : Number,
       Bottom : Number,
       Left : Number,
       Right : Number
    )

COM native C++ |
--- | ---
    HRESULT SetPrintMargins(
       DOUBLE Top,
       DOUBLE Bottom,
       DOUBLE Left,
       DOUBLE Right
    )

C++ |
--- | ---
    DSRESULT SetPrintMargins(
       double Top,
       double Bottom,
       double Left,
       double Right
    )

#### Parameters

Top
  Top margin
Bottom
  Bottom margin
Left
  Left margin
Right
  Right margin

# See Also

####

IPrintManager Interface
IPrintManager Members
IPrintManager::GetPrintMargins Method ()

# Availability

DraftSight V1R4.0