This documentation is archived and is not being maintained.
DictType.setStringRight Method [AX 2012]
Indicates the string justification for an extended data type that is based on a String data type.
public void setStringRight(boolean right)
Run On Called
Parameters
right
Type: boolean
A Boolean value: true for a right-justified string and false for a left-justified string.
This method lets you create, read, update, and delete X++ code and metadata. Make sure that the user has access to the development security key (SysDevelopment ) before this API is called.
The following example sets the justification of the AccountName extended data type.
server static public void Main(Args _args)
{
DictType dt;
dt = new DictType(ExtendedTypeNum(AccountName));
if (dt)
{
dt.setStringRight(true);
}
}