Discuss this help topic in SecureBlackbox Forum


TElXMLEncryptor     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

This event is fired when the Save method is executed.


    event TSBXMLFormatTextEvent OnFormatText;
    delegate void TSBXMLFormatTextEvent(Object Sender, ref string Text, TElXMLTextType TextType, int Level, string Path);

    Event OnFormatText As TSBXMLFormatTextEvent
    Delegate Sub TSBXMLFormatTextEvent(ByVal Sender As Object, ByRef Text As String, ByVal TextType As TElXMLTextType, ByVal Level As Integer, ByVal Path As String)

    property OnFormatText : TSBXMLFormatTextEvent;
    TSBXMLFormatTextEvent = procedure (Sender: TObject; var Text : XMLString; TextType : TElXMLTextType; ByVal Level : integer; ByVal Path : XMLString) of object;

    void get_OnFormatText(TSBXMLFormatTextEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnFormatText(TSBXMLFormatTextEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBXMLFormatTextEvent)(void * _ObjectData, TObjectHandle Sender, sb_char16_t * pcText, int32_t &szText, TElXMLTextTypeRaw TextType, int32_t Level, const sb_char16_t * pcPath, int32_t szPath);

    TSBXMLFormatTextEvent|callable|NULL get_OnFormatText()
    void set_OnFormatText(TSBXMLFormatTextEvent|callable|NULL $Value)
    callable TSBXMLFormatTextEvent(TObject $Sender, string &$Text, integer $TextType, integer $Level, string $Path)

    TSBXMLFormatTextEvent getOnFormatText();
    void setOnFormatText(TSBXMLFormatTextEvent Value);
    TSBXMLFormatTextEvent.Callback OnFormatText = new TSBXMLFormatTextEvent.Callback() {
        public String TSBXMLFormatTextEventCallback(TObject Sender, String Text, short TextType, int Level, String Path) {


  • Text - XML text being formatted
  • TextType - type of the XML text
  • Level - nesting level of the current XML node
  • Path - path to the element being formatted
  • pcText - XML text being formatted
  • szText - the length of pcText.
  • pcPath - path to the element being formatted
  • szPath - the length of pcPath.

Possible types of XML text:


    This event is fired while the Save method is executed. It shows the XML text which is currently being processed.

See also:     Save     OnFormatElement    

Discuss this help topic in SecureBlackbox Forum