Altsoft Xml2PDF reference library
AddBackground Method (source, fromPage, toPage, useOnlyFirstPage, zIndex)
NamespacesAltsoft.PublisherAPDestinationAddBackground(APSource, Int32, Int32, Boolean, Double)
Adds the given source document as background for the current output document.
Declaration Syntax
C#Visual BasicVisual C++
public APLog AddBackground(
	APSource source,
	int fromPage,
	int toPage,
	bool useOnlyFirstPage,
	double zIndex
)
Public Function AddBackground ( _
	source As APSource, _
	fromPage As Integer, _
	toPage As Integer, _
	useOnlyFirstPage As Boolean, _
	zIndex As Double _
) As APLog
public:
APLog^ AddBackground(
	APSource^ source, 
	int fromPage, 
	int toPage, 
	bool useOnlyFirstPage, 
	double zIndex
)
Parameters
source (APSource)
Source document to be used as the background.
fromPage (Int32)
Number of the first page in range where the background is to be set.
toPage (Int32)
Number of the last page in range where the background is to be set.
useOnlyFirstPage (Boolean)
Specifies whether to use only first source page or the whole source document as the background.
zIndex (Double)
Z-index for the background.
Return Value
Operation log.

Assembly: Altsoft.Xml2PDF.Server (Module: Altsoft.Xml2PDF.Server)