TerGetDrawObjectInfo
Retrieve information about a drawing object.
bool TerGetDrawObjectInfo( FrameId, out width, out height, out LineWidth, out LineColor, out FillColor, out flags)
int FrameId; | The frame id of the drawing object to inquire |
int width; | The variable to received the width (twips) of the text box or the rectangle object |
int height; | The variable to received the height (twips) of the text box or the rectangle object |
int LineWidth; | The variable to receive the line width (twips) of the line object |
Color LineColor; | The variable to receive the color of the line object |
Color FillColor; | The variable to received the fill color for the text box or the rectangle object |
int flags; | The variable to receive the object flags: |
| PARA_FRAME_TEXT_BOX: | Indicates a text box |
| PARA_FRAME_LINE: | Indicates a line object |
| PARA_FRAME_RECT: | Indicates a rectangle object |
| PARA_FRAME_BOXED: | The text box or the rectangle object is boxed. |
| PARA_FRAME_DOOTED: | Indicates dotted border |
Return Value: This function returns true if successful.