GetPrintOffset Method (IPrintManager) Send Feedback
See Also  Example
XOffset[out]
X margin for print offset
YOffset[out]
Y margin for print offset
Gets the margins for print offset.

Syntax

Visual Basic 
Sub GetPrintOffset( _
   ByRef XOffset As System.Double, _
   ByRef YOffset As System.Double _
) 
C# 
void GetPrintOffset( 
   out System.double XOffset,
   out System.double YOffset
)
JavaScript 
function GetPrintOffset( 
   XOffset : System.double,    YOffset : System.doubl )
COM native C++ 
HRESULT GetPrintOffset( 
    
    
) 
C++ 
DSRESULT GetPrintOffset( 
&   [Out] System.double XOffset,
&   [Out] System.double YOffset
) 

Parameters

XOffset[out]
X margin for print offset
YOffset[out] or Return Value
Y margin for print offset

Example

Get and Set Print Options (C#)
Get and Set Print Options (VB.NET)
Get and Set Print Options (VBA)

Remarks

Units (inches or millimeters) for the margins for print offset are dependent on the specified paper size.

IPrintManager::PrintOnCenter must be set to false for the margins for print offset to be used. Use IPrintManager::SetPrintOffset to set the margins for print offset.

 

See Also

IPrintManager Interface
IPrintManager Members

Availability

DraftSight V1R1