Accusoft PrintPRO 8
AutoMargin Property
Description
Gets or sets a value to determine if the margin values and the current print position values should automatically be set to values inside the printer's display area.
Property Type
Read-write property
Syntax
Visual Basic
Public Property AutoMargin As Boolean
Return Type
A boolean value which is True to automatically set to values inside the printer's display area. Otherwise, False is used and margin values are not automatically set.
Remarks

Returns or sets a Boolean value that specifies whether the BMargin, LMargin, TMargin, CurrentX and CurrentY properties should automatically be set to values inside the display area.

If the AutoMargin property is set to True (Default), the BMargin, LMargin, TMargin, CurrentX and CurrentY properties are set whenever a paper size is selected as follows: The LMargin and CurrentX properties are set to the left edge of the display area. The TMargin, BMargin and CurrentY properties are set to the top edge of the display area.

Note: The coordinate system used by the PrintPRO control is based on the physical dimensions of the paper. This means that the 0,0 coordinate is the upper left corner of the printed page. The display area that is located inside the physical area. This is the area that is normally used for printing. The AutoMargin property automatically sets the margins and the CurrentX and CurrentY properties so that printed text, using the PrintText method, appears inside the display area. If you want to set the margins manually, you can use the DisplayX and DisplayY properties to get the margin values.

See Also

PrintPro Object  | PrintPro Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback