IbexPDFCreator
DevelopersGuide
ElementsandAttributes
325
25.11.50 bottom
Description
Thisisusedforabsolutelyandrelativelypositionedelementsonly.Itsetsthedistance
fromthebottomedgeofthecontainingelementtothebottomedgeofthiselement.
Defaultvalue
auto
25.11.51 break-after
Description
Usethiselementtoinsertapagebreakafterthiselement.
Defaultvalue
auto
Values
auto
column
page
Apagebreakwilloccurafterthiselement.
inherit
25.11.52 break-before
Description
Usethiselementtoinsertapagebreakbeforethiselement.
Defaultvalue
auto
Values
auto
column
page
Apagebreakwilloccurbeforethiselement.
inherit
Pdf page size limit - Compress reduce PDF size in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
C# Code & .NET API to Compress & Decompress PDF Document
change font size in pdf form; change page size pdf
Pdf page size limit - VB.NET PDF File Compress Library: Compress reduce PDF size in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Compression and Decompression Control SDK
change paper size pdf; acrobat compress pdf
IbexPDFCreator
DevelopersGuide
326
ElementsandAttributes
25.11.53 caption-side
Description
Thisisusedonatable-and-captiontospecifyonwhichsideofthe tablethecaption
appears.
Defaultvalue
before
Values
before
after
start
end
top
bottom
left
right
inherit
25.11.54 character
Description
Thisattributesetsthecharactertobeinsertedbyacharacterelement.Forinstanceto
insertthecharacter"A"intothecontentyouwoulduseancharacterelementlikethis:
Figure25-67:
<character character="A"/>
Defaultvalue
Thisattributehasnodefaultvalue,youmustprovideavalue.
VB.NET PDF File Split Library: Split, seperate PDF into multiple
PDF document file to one-page PDF files or As String = Program.RootPath + "\\" 1.pdf" ' set split SplitOptions(SplitMode.BySize) ' limit the size of each
change paper size in pdf document; best way to compress pdf file
C# PDF File Split Library: Split, seperate PDF into multiple files
options = new SplitOptions(SplitMode.BySize); //limit the size of each String inputFilePath = Program.RootPath + "\\" source.pdf"; //Page indexes to
change font size pdf; change font size in pdf form field
IbexPDFCreator
DevelopersGuide
ElementsandAttributes
327
25.11.55 clear
Description
Thisisusedonanelementtospecifythatitmaynotbeplacednexttoafloatelementon
oneorbothsides.
Defaultvalue
none
Values
left
right
both
none
inherit
25.11.56 clip
Description
NotusedinPDFcreation.
Defaultvalue
auto
25.11.57 color
Description
Thissetstheforegroundcoloroftext.
Defaultvalue
inheritedfromparent
Values
<color>
A color such as s 'red', , 'blue' etc. or r an n RGB B color such as
'#445566'oraCMYKcolordefinedusingthergb-icccolor.
C# PowerPoint: How to Set PowerPoint Rendering Parameters in C#
2007 or above) slide into PDF document or other rendering process if the slide/page is too REImage CropImage(Rectangle sourceRegion, Size targetSize); Bitmap
change pdf page size; can pdf files be compressed
C# Excel: Customize Excel Conversion by Setting Rendering Options
0, (int)(originalWidth), (int)(originalHeight / 2)), new Size((int)(originalWidth the top half of Excel page to image to these file formats, like PDF, TIFF, SVG
pdf page size dimensions; change font size in pdf text box
IbexPDFCreator
DevelopersGuide
328
ElementsandAttributes
25.11.58 color-profile-name
Description
ThisisusedinspecifyingcolorprofilesforPDF/Xdocuments.Thevaluemustbesetto
"cmyk".Seepage143formoreinformation.
Defaultvalue
auto
25.11.59 column-count
Description
Setsthenumberofcolumnsinabodyregion.Onlythebodyregioncanhavemorethan
onecolumn.
Forexampletocreateabodyregionwiththreecolumnssetcolumn-countto3likethis:
Figure25-68:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<layout-master-set>
<simple-page-master master-name="simple">
<region-body margin="2.5cm" region-name="body"
background-color="#eeeeee" column-count="3"/>
</simple-page-master>
</layout-master-set>
<page-sequence master-reference="simple">
<flow flow-name="body">
<block>Hello World</block>
</flow>
</page-sequence>
</root>
Defaultvalue
1
Values
<integer>
Anon-negativeinteger.Setsthenumberofcolumnstothis
value.
25.11.60 column-gap
Description
Setsthegapbetweencolumnsinabodyregionwithcolumn-count>1.Onlythebody
regioncanhavemorethanonecolumn.
VB.NET Excel: VB Methods to Set and Customize Excel Rendering
treat every single Excel spreadsheet as a page in our the fixed image size ration that the size is limited Excel to other document files, like PDF with online
pdf custom paper size; batch pdf compression
IbexPDFCreator
DevelopersGuide
ElementsandAttributes
329
Forexampletocreateabodyregionwithtwocolumnsseparatedbya4cmgapset
column-countto2andcolumn-gapto"4cm"likethis:
Figure25-69:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<layout-master-set>
<simple-page-master master-name="simple">
<region-body margin="2.5cm" region-name="body"
column-count="2" column-gap="4cm"/>
</simple-page-master>
</layout-master-set>
<page-sequence master-reference="simple">
<flow flow-name="body">
<block>Hello World</block>
</flow>
</page-sequence>
</root>
Defaultvalue
12.0pt
Values
<length>
A length h such as s '10cm'. Valid d units s are e pt (points) ) cm
(centimetres) in(inches)mm(millimetres) em(currentfont
sizeinpoints).
25.11.61 column-number
Description
This is s used on n a table-column n element to specify y which column n the e table-column
elementrefersto.
Thisattributeisoptionalasthecolumnnumbercanbedeterminedfromthepositionof
thetable-columnelementinthelistofsuchelements.
Figure25-70:
<table>
<table-column column-number="1"
column-width="20%"/>
<table-column column-number="2"
column-width="30%"/>
<table-column column-number="3"
column-width="50%"/>
<table-body>
<table-row>
<table-cell>col 1</table-cell>
<table-cell>col 2</table-cell>
<table-cell>col 3</table-cell>
</table-row>
</table-body>
</table>
IbexPDFCreator
DevelopersGuide
330
ElementsandAttributes
Defaultvalue
currentcolumnnumber
25.11.62 column-width
Description
This is s used d on a table-column element t to o specify the e width h of f the column the
table-columnelementrefersto.
Forexampletosetthewidthsofthreecolumnsto20%,30%and50%youwoulddothis:
Figure25-71:
<table>
<table-column column-number="1"
column-width="20%"/>
<table-column column-number="2"
column-width="30%"/>
<table-column column-number="3"
column-width="50%"/>
<table-body>
<table-row>
<table-cell>col 1</table-cell>
<table-cell>col 2</table-cell>
<table-cell>col 3</table-cell>
</table-row>
</table-body>
</table>
Defaultvalue
Thisattributehasnodefaultvalue,youmustprovideavalue.
Values
<length>
A length h such as s '10cm'. Valid d units s are e pt (points) ) cm
(centimetres) in(inches)mm(millimetres) em(currentfont
sizeinpoints).
25.11.63 content-height
Description
Thisisusedonagraphicelementsuchasaexternal-graphictosettheheightofthe
image.
Thesizeofanimageandthesizeoftheareacontainingitaretwoseperatethings.The
height and width attributes set the e size e of f the area containing the image, the
content-heightandcontent-widthattributessetthesizeoftheimageitself.
Percentagevaluesrefertopercentagesoftheactualsizeoftheimageasdetermined
fromtheimagefile.
IbexPDFCreator
DevelopersGuide
ElementsandAttributes
331
Defaultvalue
auto
Values
<length>
A length h such as s '10cm'. Valid d units s are e pt (points) ) cm
(centimetres) in(inches)mm(millimetres) em(currentfont
sizeinpoints).
inherit
scale-to-fit
25.11.64 content-width
Description
Thisisusedonagraphicelementsuchasaexternal-graphic tosetthewidthofthe
image.
Thesizeofanimageandthesizeoftheareacontainingitaretwoseperatethings.The
height and width attributes set the e size e of f the area containing the image, the
content-heightandcontent-widthattributessetthesizeoftheimageitself.
Percentagevaluesrefertopercentagesoftheactualsizeoftheimageasdetermined
fromtheimagefile.
Defaultvalue
auto
Values
<length>
A length h such as s '10cm'. Valid d units s are e pt (points) ) cm
(centimetres) in(inches)mm(millimetres) em(currentfont
sizeinpoints).
inherit
scale-to-fit
25.11.65 display-align
Description
Thisattributesetstheverticalalignmentofcontentcontainedwithintheelementwith
thisattribute.
IbexPDFCreator
DevelopersGuide
332
ElementsandAttributes
Defaultvalue
inheritedfromparent
Values
auto
before
Aligntobeforeedgewhichfornon-rotatedcontentisthetop.
center
Aligntocenter
after
Align to o after r edge which h for r non-rotated content t is the
bottom.
25.11.66 end-indent
Description
Thisattributesetsindentationofcontentfromtheendedgeofthecontainingarea.For
non-rotatedcontenttheendedgeistherightedge.
Thisattributesetstheindentationofthecontentcontainedintheelement.Thecontent
willbepositionedtherequireddistancefromtherightedgeofthecontainingarea,and
anypaddingandborderwillthenbeplacedoutsidethecontent.
For CSS S style e alignment t of f nested d elements s use e the margin-left and margin-right
attributesinsteadofstart-indentandend-indent.
Defaultvalue
0pt
Values
auto
<length>
A length h such as s '10cm'. Valid d units s are e pt (points) ) cm
(centimetres) in(inches)mm(millimetres) em(currentfont
sizeinpoints).
inherit
25.11.67 ends-row
Description
Withinatable-body(ortable-header andtable-footer)element atablehas table-cell
elements.Normallycellsareplacedinsideatable-rowelement,butitispossibletoplace
thecellsdirectlybelowthetable-bodyelementandnothaveanytable-rowelements.In
thiscase the formatter determines formation n ofrows bylooking for ends-rowand
IbexPDFCreator
DevelopersGuide
ElementsandAttributes
333
starts-rowattributesoneachtable-cell.Ifatable-cellendstherowthentheends-row
attributeshouldbesetto"true",otherwiseitshouldbesetto"false"ornotusedatall.
Atablewhichhastworowsofthreecellseachandiscreatedwithoutrowelements
lookslikethis:
Figure25-72:
<table>
<table-body>
<table-cell starts-row="true">col l 1</table-cell>
<table-cell>col 2</table-cell>
<table-cell ends-row="true">col 3</table-cell>
<table-cell starts-row="true">col l 1</table-cell>
<table-cell>col 2</table-cell>
<table-cell ends-row="true">col 3</table-cell>
</table-body>
</table>
Defaultvalue
false
Values
false
Thiscelldoesnotendtherow
true
Thiscellendstherow
25.11.68 extent
Description
Theextentattribute determineshowlargearegionis.Itisusedonregionelements
otherthentheregion-bodyelement.
Theextentisthesizeoftheregion.Theouteredgeoftheregioniscalculatedfromthe
edgeofthepageplusanymarginonthesimple-page-masterelement.Theinneredgeof
theregionistheouteredgeplusthevalueoftheextentattribute.
Percentagevaluesrefertothesizeofthepage.
Defaultvalue
0pt
Values
<length>
A length h such as s '10cm'. Valid d units s are e pt (points) ) cm
(centimetres) in(inches)mm(millimetres) em(currentfont
sizeinpoints).
IbexPDFCreator
DevelopersGuide
334
ElementsandAttributes
25.11.69 external-destination
Description
This attribute e destination of a a basic-link k element t used to create a hyperlink in the
document.
Theformatoftheexternal-destinationattributemustbeaURIspecification(RFC2396)
asdescribedbelow.
Tolinklocalfiletheformatshouldbe:
Figure25-73:
external-destination="url(external.pdf)"
ortolinktoawebsiteuseaformatlikethis:
Figure25-74:
external-destination
="url(http://www.xmlpdf.com/builds/ibex.pdf)"
Defaultvalue
Values
<uri-specification>
Asequenceofcharactersthatis"url(",followedbyoptional
whitespace,followedbyanoptionalsinglequote(')ordouble
quote(")character,followedbyaURIreferenceasdefinedin
[RFC2396],followedbyanoptionalsinglequote(')ordouble
quote (") ) character, , followed d by optional white e space,
followedby")".Thetwoquotecharactersmustbethesame
and must both be present or absent. . If f the URI reference
contains a single quote, , the two quote charactersmust be
presentandbedoublequotes.
25.11.70 float
Description
Specifieshowtheblockwhichisfloatedshouldbepositioned.Specifyfloat="start"or
float="before" to move e the block to o the start of the e page. Specify float="left" to
positioncontenttotheleftsideofthepageandhaveothercontentflowaroundthe
rightsideofthepositionedcontent.
Defaultvalue
none
Documents you may be interested
Documents you may be interested