Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Display Settings in fileoperations

rajatb
2007-10-29
2007-10-29
  • rajatb - 2007-10-29

    Hi Everybody

                      In Codesys programming I am creating a ".txt" file. I am using "Sysfilestreamfopen" function for this purpose. Is it possible to add colour affects like displaying the text in colour, Filling a selected portion with colour etc, in the file which is the output from the "Sysfilestreamfopen" operation.
    

    Let me know if this can be possible through programming in Codesys.

    Hoping earliest reply

     
  • ndzied1 - 2007-10-29

    I believe the coloring will be more of a function of the program you use to open it up later on. When someone views the file, what software will they be using? Notepad? Word? etc...

    You will most likely need to add some sort of codes to the file to indicate color. You might try to create an html or rtf file to include formatting information.

     

Log in to post a comment.