ElementProp Dynamic text wrap object

Build 1501 on 14/Nov/2017  This topic last edited on: 23/Mar/2016, at 12:13

ElementProp object provides full control over dynamic text wrap, printable status, hot-spots, arrows, fit text on path, transparency, drop shadows and Graphics Text Frame.

General

MarkUndoActivates undo for prop object.
GetNumVertsReturns the number of vertexes of the selected object, or the number of selected vertexes.
XX-pos of the current page element.
YY-pos of the current page element.
WWidth of the current page element.
HHeight of the current page element.
GetNumVertsReturns the number of vertexes of the selected object, or the number of selected vertexes.
IsRect Returns true if the object is four corners rectangle.

Commands related to dynamic text wrap

DE_ActiveSets or returns the status of dynamic text wrap.
DE_TopMarginSets or returns the top margin of dynamic text wrap.
DE_BottomMarginSets or returns the bottom margin of dynamic text wrap.
DE_LeftMarginSets or returns the left margin of dynamic text wrap.
DE_RightMarginSets or returns the right margin of dynamic text wrap.
DE_SetMarginsSets all margins of dynamic text wrap to the specified value.
DE_MethodSets or returns the method of dynamic text wrap.
DE_SetDefaultResets all dynamic engrave parameters to the internal Fred defaults.
NumShapesReturns number of sub-shapes, created by the dynamic wrap, that belong to the entire shape of the selected object.
ShapeBBoxReturns, for the specified sub-shape, the bounding box (x1,y1,x2,y2) internal coordinate.
IsEngravedReturns 0 if the object is not affected by dynamic wrap, or the number of shapes generated after the wrap (1 or more)

Commands related to drop shadow

DS_ActiveReturns or set the status of the drop shadow.
DS_BlurReturns or set the blur value of the drop shadow
DS_OffsetXReturns or set the X offset of the drop shadow.
DS_OffsetYReturns or set the Y offset of the drop shadow.
DS_SpreadReturns or set the spread value of the drop shadow.
DS_AlphaReturns or set the opacity of drop shadow.
DS_MethodReturns or set the method of transparencies for drop shadow.
DS_SetColorSets color and tint of drop shadow.

Commands related to library objects

LG_LibGroupIdReturns unique library instance identifier or "*" if custom logical group.        
LG_LibNameReturns Library name of dropped library object or "*" if custom logical group.
LG_LibObjNameReturns library object name of dropped library object or custom logical group name set by ObjSetLogicalGroup()

Commands related to printable status and looping

PrintableReturns or sets the printable status of selected object.
NextSelLoops through selected objects. Returns false when selection is exhausted.

Commands related to start/end shapes

StartIdAttaches the arrow with Id = lngId to the start of the rule.
FinishIdAttaches the arrow with Id = lngId to the end of the rule.
ShowVertsCreates a text file with XML description of the object's shape. Suitable to paste arrows in EdAdmin4.

Commands related to fit text to path

SetShapeCreates shape based on polyline.
WalkShapeGets the distance in millipoints and returns True if the requested distance is on the shape perimeter.
WalkAReturns the rotation angle of the point, set by call to WalkShape (in tenths of degree).
WalkXReturns the X-pos of the point, set by call to WalkShape
WalkYReturns the Y-pos of the point, set by call to WalkShape

Commands related to hot-spots

HotSpotAtSelects the hot-spot by index.
HotSpotXSets or returns the X-position of the current hot-spot.
HotSpotYSets or returns the Y-position of the current hot-spot.

Commands related to text margins in a frame

TextInsideReturns or sets the status of the text justification related to frame border.
TextOffsetSets or returns internal margins of a frame.

Commands related to transparency

TR_ActiveSets or returns status of transparency.
TR_AlphaSets or returns the opacity of transparency.
TR_MethodSets or returns the method of transparency.
TR_OptionsSets or returns the options of transparency.

Commands related to Graphics Text Frame

GraphicsTextFrameSets or returns the graphics text frame status of the selected frame.

Commands related to format of

TextFormatId Sets or returns the format of the local text.