TerGetPictInfo
Retrieve assorted information for a picture type object.
boolean TerGetPictInfo( pict, out style, out rect, out align, out aux)
int pict; | Id of the picture. Must be a valid number between 0 and TotalFonts - 1. |
Upon a successful return from this method, the following information can be retrieved by using TerGetOutInt and TerGetOutRect methods:
int style; | variable to receive the style bits Upon successful return, You retrieve the style value as following: style=tej.TerGetOutInt("Style"); |
Rectangle rect; | variable to receive the current screen location and size (in device units) of the picture. The rectangle is relative to the client area of the control. Upon successful return, You retrieve the Rectangle object as following: rect=tej.TerGetOutRect("Rectangle"); |
int align; | variable to receive the picture alignment flags. Upon successful return, You retrieve the alignment as following: align=tej.TerGetOutInt("Align"); |
int aux; | variable to receive the auxiliary id associated with the picture. Upon successful return, You retrieve the auxiliary id as following: aux=tej.TerGetOutInt("AuxId"); |
Return Value: This function returns true when successful.
CrStyle, CrRectangle, CrAlign, CrAuxId