Background Color:
Background Pattern:
Home Recent Changes Show All Pages

Inner Element Style Example

Not Rated Yet

The style information can be included as an inner element on the component

<?xml version="1.0" encoding="utf-8" ?>
<pdf:Document xmlns:pdf="Scryber.Components, Scryber.Components, Version=, Culture=neutral, PublicKeyToken=872cbeb81db952fe"
              xmlns:styles="Scryber.Styles, Scryber.Styles, Version=, Culture=neutral, PublicKeyToken=872cbeb81db952fe">

    <pdf:Page id="titlepage" >
        <styles:Page size="A4" orientation="Landscape"/>
        <!-- For inner element styles we use the panel, this separates the content and style and outline -->
            <styles:Background color="aqua"/>
            <styles:Position x="50mm" y="50mm" width="200mm" height="100mm" h-align="Center" v-align="Middle"/>
            <styles:Fill color="maroon"/>
            Some content in a relatively positioned div


Which will generate content like this



Back to Understanding Styles

Rate This Page: Poor Great   |  Rate Content |
Average rating:  No Ratings Yet   
Number of Ratings : 0
Add Comment
No Comments Yet