EControl Syntax Editor SDK
TBlockStaple.XPos Property

Indicates X position of the staple.

property XPos: integer;

This position is determined while staple is being drawn by the editor. It is equal to minimum X position of the first characters of start and end lines, in editor's coordinates. 

Block staples are drawn from the StartLine to the EndLine at the position that equals to XPos minus StapleOffset.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!