Das Notes Forum

Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: Toma Bogdan am 21.06.02 - 15:14:18

Titel: It is possible to resize a picture into RTF field?
Beitrag von: Toma Bogdan am 21.06.02 - 15:14:18
I have a picture into clipboard and I put it into a document through the next code:

Dim w As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = w.CurrentDocument
Call uidoc.GotoField( "Body" )
Call uidoc.Paste

The Body field is Rich Text and if the picture is 1024x 768 that will be very large for viewing !

I want to resize it (for example decrease with 50 %) ! I found just http://www.notes.net/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/a0b41493449d6a0f85256b0200143bde?OpenDocument and this is a response for the web !

Isn't any method to modify programaticaly the apperance size of a picture from a Rich Text field ?
Titel: Re: It is possible to resize a picture into RTF fi
Beitrag von: eknori (retired) am 21.06.02 - 17:00:28
Definitely NO !! it is not possible to resize an embedded picture using generic Lotus Script. Maybe it is possible using Notes API. Perhaps you should take a closer look at the Midas LSX from http://www.geniisoft.com/

eknori
Titel: Re: It is possible to resize a picture into RTF fi
Beitrag von: Toma Bogdan am 24.06.02 - 09:03:02
do you have a hint with Notes API ? thanx