SetUserScaleValue Method (IPrintManager)

SetUserScaleValue Method (IPrintManager) | Send Feedback
See Also

PaperUnits
  User-defined paper units

DrawingUnits
  User-defined drawing units

Sets the user-defined paper and drawing units (millimeters or inches) for printing.

# Syntax

Visual Basic |
--- | ---
    Sub SetUserScaleValue( _
       ByVal PaperUnits As System.Double, _
       ByVal DrawingUnits As System.Double _
    )

C# |
--- | ---
    void SetUserScaleValue(
       System.double PaperUnits,
       System.double DrawingUnits
    )

JavaScript |
--- | ---
    SetUserScaleValue(
       PaperUnits : Number,
       DrawingUnits : Number
    )

COM native C++ |
--- | ---
    HRESULT SetUserScaleValue(
       DOUBLE PaperUnits,
       DOUBLE DrawingUnits
    )

C++ |
--- | ---
    DSRESULT SetUserScaleValue(
       double PaperUnits,
       double DrawingUnits
    )

#### Parameters

PaperUnits
  User-defined paper units
DrawingUnits
  User-defined drawing units

# Remarks

Set IPrintManager::ScaleToFit to false to enable scaling and IPrintManager::UserScale to true to enable user-defined scaling.

To set a standard scale, call IPrintManager::SetStandardScale.

# See Also

####

IPrintManager Interface
IPrintManager Members
IPrintManager::GetUserScaleValue Method
IPrintManager::GetStandardScale Method

# Availability

DraftSight V1R1.1