Jump to content

Method GetPageAsRaw not in documentation


Romme

Recommended Posts

Guest Lars_MQ

Yes you can use this method. It delivers a one dimensional byte safe array with the raw ttx pagedata (with all command sequence etc.).

 

It's useful, if you don't want the html stuff pollute the ttx page data. ;)

Link to comment

Do you have an example of how to use it?

I have tryed using it from a .vbs fil like this:

 

Set myDVBViewer = getObject(,"DVBViewerServer.DVBViewer")

wscript.echo myDVBViewer.Videotext.GetPage(100,0)

wscript.echo myDVBViewer.Videotext.GetPageAsRaw(100,0,0)

 

The GetPage works fine, but I only get a "1000" from GetPageAsRaw.

 

/Romme

 

Yes you can use this method. It delivers a one dimensional byte safe array with the raw ttx pagedata (with all command sequence etc.).

 

It's useful, if you don't want the html stuff pollute the ttx page data. ;)

Link to comment

Thats because you do not use it correctly ;)

 

1000 is the size of the page as result. The whole command looks like:

 

function GetPageAsRaw(Page: Integer; Sub: Integer; out List: OleVariant): Integer;

 

Christian

Link to comment

I see.. do you have a VB sample?

 

Thats because you do not use it correctly ;)

 

1000 is the size of the page as result. The whole command looks like:

 

function GetPageAsRaw(Page: Integer; Sub: Integer; out List: OleVariant): Integer;

 

Christian

Link to comment
  • 5 weeks later...

Thanx, I got it now :(

Anyone know how to convert it to HTML or an image?

 

/Romme

 

Thats because you do not use it correctly :jump:

 

1000 is the size of the page as result. The whole command looks like:

 

function GetPageAsRaw(Page: Integer; Sub: Integer; out List: OleVariant): Integer;

 

Christian

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...