Inserts a new page in the fax, starting at the specified index.

Namespace: ININ.IceLib.UnifiedMessaging
Assembly: ININ.IceLib.UnifiedMessaging (in ININ.IceLib.UnifiedMessaging.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public void InsertPage(
	int pageIndex,
	Image faxPageImage,
	FaxPageAttributes faxPageAttributes,
	FaxPageSettings faxPageSettings
)
Visual Basic
Public Sub InsertPage ( _
	pageIndex As Integer, _
	faxPageImage As Image, _
	faxPageAttributes As FaxPageAttributes, _
	faxPageSettings As FaxPageSettings _
)

Parameters

pageIndex
Type: System..::..Int32
The 0 based location of the page within the Fax. A value of -1 indicates that the page should be inserted at the end.
faxPageImage
Type: System.Drawing..::..Image
The Image image of the fax page.
faxPageAttributes
Type: ININ.IceLib.UnifiedMessaging..::..FaxPageAttributes
The page attributes that describe the new Fax page.
faxPageSettings
Type: ININ.IceLib.UnifiedMessaging..::..FaxPageSettings
The fax page settings that control how faxPageImage will be added to the fax page.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentOutOfRangeExceptionIf pageIndex is greater than the number of pages or an invalid value.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.

See Also