PrintOnCenter Property (IPrintManager) Send Feedback
See Also  Example
Gets or sets whether to use same-size margins at the top, bottom, left, and right for print offset.

Syntax

Visual Basic 
Property PrintOnCenter As System.Boolean
C# 
System.bool PrintOnCenter {get; set;}
JavaScript 
get_PrintOnCenter () : Boolean
put_PrintOnCenter (
   NewVal : Boolean
)
COM native C++ 
HRESULT get_PrintOnCenter(
   VARIANT_BOOL* Val
) 
HRESULT put_PrintOnCenter( 
   VARIANT_BOOL NewVal
C++ 
DSRESULT get_PrintOnCenter (
   bool* Val
)
DSRESULT put_PrintOnCenter(
   bool NewVal
)

Property Value

True to to use same-size margins at the top, bottom, left, and right for print offset, false to not

Example

Remarks

To specify margins of different sizes for print offset, set this property to false and use IPrintManager::SetPrintOffset to set the size of the margins.

See Also

Availability

DraftSight V1R1