Link Search Menu Expand Document

TextFrame.SetMargins Method

Explanation Set the left and right margins.
In the initial state, the left and right margins are the OS standard positions.

When setting the margin, specify that the total value of the left and right margins fits in the character display area of the TextFrame.
Added since Ver.5.0.2
Call format TextFrame.SetMargins( leftMargin, rightMargin )
Return value None
Arguments integer leftMargin Specify the left margin between 0 and 32767.
integer rightMargin Specify the right margin between 0 and 32767.
Exception FUNC-4 Invalid argument
Example of use
    TextFrame1.SetMargins(2, 2);
    
Related item