Page number of PagePanel in EmbedWithinPanel metho

Can you let me know how to specify the page number of PagePanel in EmbedWithinPanel method?
Below one doesn’t work because of syntax error.

CompResPagePanel.Append
CompResPagePanel.Value=1

dim objMyContainer as CompResultAreaContainer
objMyContainer = new CompResultAreaContainer

objMyContainer.EmbedWithinPanel(CompResPagePanel.Value=1, 10, 10, 25, 25)

objMyContainer.Left = 31
objMyContainer.Top = 452
objMyContainer.Width = 1589
objMyContainer.Height = 306

I found the syntax. ^.

EmbedWithinPanel(containingPanel as PagePanel, page, left…)

Very simple but nice one.