![]() |
|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
![]() |
|
Опции темы | Поиск в этой теме |
![]() |
#1 |
Регистрация: 31.03.2007
Сообщений: 9
|
![]()
Как получить ссылки на которые ведут картинки?
<a href="нужно узнать что тут для данной картинки"><img src=""></a> Код приведенные ниже пытался модифицировать, не вышло. for i := 0 to EmbeddedWB1.OleObject.Document.Imag es.Length - 1 do begin Document := Embeddedwb1.Document as IHtmlDocument2; // Retrieves the calculated width of the image. ImageWidth := Embeddedwb1.OleObject.Document.Imag es.Item(i).Width; // Retrieves the height of the image. ImageHeight := Embeddedwb1.OleObject.Document.Imag es.Item(i).Height; // Retrieves the file size of the image. ImageFileSize := (Document.Images.Item(i, 0) as IHTMLImgElement).FileSize; // Retrieves the entire URL that the browser uses to locate the image ImageHref := (Document.Images.Item(i, 0) as IHTMLImgElement).Href; // Retrieves a text alternative to the graphic. ImageTextAlternative := (Document.Images.Item(i, 0) as IHTMLImgElement).alt; // Show image information in a TListbox ListBox1.Items.Add(Format('%s : %d x %d Pixels; %s Bytes; %s', [ImageHref, ImageWidth, ImageHeight, ImageFileSize, ImageTextAlternative])); end; |
![]() |
![]() |
![]() |
#2 |
Регистрация: 31.03.2007
Сообщений: 9
|
![]()
решено - - -- - -- -
|
![]() |
![]() |
![]() |
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Как в TWebBrowser узнать адрес ссылки которая находится под курсором мышки | SeRhy | Общие вопросы Delphi | 0 | 10.08.2008 10:11 |
Получить имена всех файлов, которые были открыты с помощью приложения | Kn793 | Общие вопросы Delphi | 9 | 10.07.2008 15:31 |
Программы которые мы используем | Fainder | Софт | 18 | 28.07.2007 05:43 |
5 дат, которые должен знать каждый | Гриха | Свободное общение | 37 | 23.02.2007 18:41 |