Intersoft ClientUI Documentation
Pages Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > FixedDocument Class : Pages Property






Gets a collection of the document's PageContent elements.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Pages As PageContentCollection
Visual Basic (Usage)Copy Code
Dim instance As FixedDocument
Dim value As PageContentCollection
 
value = instance.Pages
C# 
public PageContentCollection Pages {get;}
Delphi 
public read-only property Pages: PageContentCollection; 
JScript 
public function get Pages : PageContentCollection
Managed Extensions for C++ 
public: __property PageContentCollection* get_Pages();
C++/CLI 
public:
property PageContentCollection^ Pages {
   PageContentCollection^ get();
}

Remarks

FixedDocument only allows PageContent element as its child element. Each PageContent can either refer to a source of content for a single page or contain the page itself. PageContent elements must be in sequential markup order, matching the page order of the document.

XAML Copy Code
<Intersoft:FixedDocument>
    <Intersoft:PageContent>
        <Intersoft:FixedPage Width="816" Height="1056">
            <TextBlock Text="Text" Canvas.Left="100" Canvas.Top="100"></TextBlock>
        </Intersoft:FixedPage>
    </Intersoft:PageContent>
    <Intersoft:PageContent Source="Pages/1.fpage" />
</Intersoft:FixedDocument>    

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.