Autor Beitrag
teebee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 109


D6 Prof
BeitragVerfasst: Do 25.11.04 15:24 
Spatz hat folgendes geschrieben:
vielen dank für den tip, ich probiere dies mit dem stream mal aus... (ja, dann ist der twebbrowser wieder eine alternative). mein problem liegt im moment aber bei der bestimmung der absoluten seitenhöhe einer seite im twebbrowser. (brauche dies um das bild anschliessend ausdrucken zu können)
Vielleicht hilft Dir 'body.clientHeight' weiter? Sonst evtl. eine <div> im Dokument anlegen.
msdn.microsoft.com/w...hor/om/measuring.asp

<Edit>
Das hilft Dir vielleicht auch weiter:www.quirksmode.org/v...t/compatibility.html
</Edit>

Gruß, teebee
teebee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 109


D6 Prof
BeitragVerfasst: Do 25.11.04 15:45 
Hab nochmal nachgeschaut:
Für den IE liefert document.body.scrollheight die komplette Höhe des Dokuments in Pixeln zurück.

Gruß, teebee
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: Do 25.11.04 15:48 
vorauf bezieht sich das document.scrollheight?
ist das etwas von twebbrowser?

_________________
Aus dem Urlaub zurück!
teebee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 109


D6 Prof
BeitragVerfasst: Do 25.11.04 16:18 
Habe weiter oben einen Link zu einer Seite gepostet, die sich mit TWebBrowser auseinandersetzt. Dort wird der Umgang mit dem Document-Objekt beschrieben. Müsste etwa so lauten:FullHeight := WebBrowser.OleObject.Document.Body.ScrollHeight;
Habe es allerdings noch nicht probiert, also ohne Gewähr...


Gruß, teebee
ScorpionKing
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1150

Win XP

BeitragVerfasst: Do 25.11.04 16:52 
Vielen Dank! Jetzt müsste es klappen! 8)

ScorpionKing

_________________
Aus dem Urlaub zurück!