• Hello,

    I use this code to insert picture in pages:

    Code
    TWPOImage * objImg = new TWPOImage(WPRT->Memo->RTFData);
    	objImg->LoadFromFile(chemin);
    	SetAlignement(paralCenter);
    	TWPTextObj * mod = WPRT->TextObjects->Insert(objImg, larg, haut);
    	WPRT->TextObjects->MoveCharObjectTo(mod, ACTIVE_PAR, 0);
    	WPRT->TextObjects->ChangePositionMode(mod, wpotChar , wpwrUseWholeLine);

    But some picture don't take care of the footnote and draw out of page:

    [Blockierte Grafik: http://img253.imageshack.us/img253/8382/examplepicture.jpg]

    Do you have any idea to solve this problem?

    Thanks,
    Frédéric