AddNewItem Method (CoMLCharGenClass)
file name or item XML description
X axis position
Y axis position
indicates whether position and item size are relative ("1") or not ("0")
indicates whether a new item will be showed ("1") or not ("0")
new item ID
adds new item to CG configuration.
Syntax
Public Overridable Sub AddNewItem( _
   ByVal _bsFileNameOrItemDesc As String, _
   ByVal _dblPosX As Double, _
   ByVal _dblPosY As Double, _
   ByVal _bRelativePosAndSize As Integer, _
   ByVal _bShow As Integer, _
   ByRef _pbsItemID As String _
) 
public: virtual void AddNewItem( 
   BSTR* _bsFileNameOrItemDesc,
   double _dblPosX,
   double _dblPosY,
   int _bRelativePosAndSize,
   int _bShow,
   [PARAMFLAG::Out] BSTR* _pbsItemID
) 

Parameters

_bsFileNameOrItemDesc
file name or item XML description
_dblPosX
X axis position
_dblPosY
Y axis position
_bRelativePosAndSize
indicates whether position and item size are relative ("1") or not ("0")
_bShow
indicates whether a new item will be showed ("1") or not ("0")
_pbsItemID
new item ID
See Also

Reference

CoMLCharGenClass Class
CoMLCharGenClass Members