Take a survey

DDX Reference > DDX Language Elements > PageMargins

PageMargins
Specifies margins for page content elements being added to a page.
<PageMargins
	left="36pt" or "nonnegative length"
	top="36pt" or "nonnegative length"
	right="36pt" or "nonnegative length"
	bottom="36pt" or "nonnegative length"
	alternation="None" or "OddPages" or "EvenPages"
/>
Can be contained in the elements PDF result, PDF source, PDFGroup, TableOfContents, TableOfContentsPagePattern, PackageFiles filter, select, or conversion elements, and BlankPage.
The margins specified by this element affects only content being added to a page in the resulting PDF document through the page content elements Watermark, Background, Header, Footer, and TableOfContents.
The PageMargins element has no affect on the preexisting content of the page. Margins can be specified differently for odd pages and even pages through the alternation attribute. There can be only one PageMargins element specified per page side, which means there can be two if one is for odd pages and one is for even pages.
The PageMargins element defines a reference for initial placement of text. It does not provide a boundary to which text is restricted. In other words, the text is not clipped to the margin. As a result, content provided in the page content elements Watermark, Background, Header, Footer, and TableOfContents may exceed the margins specified in this element. For example, excessive text in the Left element of a Header element may overflow the right margin. In another example, excessive lines in a Center element of a Header element may cause the header to exceed the bottom margin.
This element’s attributes specify margins relative to the page size (provided in the PageSize element).
Category
Page properties
Attributes
 
Optional. Specifies whether the element’s settings apply to all pages or to alternating pages. This attribute can have the following values:
None (default) - Settings apply to all pages.
OddPages - Settings apply to odd pages only.
EvenPages - Settings apply to even pages only.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/ddxRefMain.163.79.html