TextObjects.Insert

  • Hello there...:)

    For WPLoadObjectFromFile, the Help file says:

    Zitat

    frequently used by WPTools 4 to create a new object instance for a certain file


    That suggests that there's now a new, improved, more WP5'ish way to create a new object instance for a certain file (e.g., BigBall.Jpg). If so, what's the new preferred way?

    diamond

    • Offizieller Beitrag

    Hi,

    all image files are now supported by just one object class, TWPOImage. You can create this right away and use LoadFromStream and FileExtension.

    Of course
    WPLoadObjectFromFile(<wprichtext>, FileName, InsertLink);

    still works.

    Julian Ziersch