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

Inline Style Example

Not Rated Yet

An example of the inline styles.

<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:paper-size="A4" styles:paper-orientation="Landscape" >
        <pdf:Div styles:x="50mm" styles:y="50mm" styles:width="200mm" styles:height="100mm" 
                 styles:bg-color="aqua" styles:fill-color="maroon"
                 styles:v-align="Middle" styles:h-align="Center">
          Some content in a relatively positioned div


This will generate the following PDF


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