Inserts a new page into the Fax 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 pageImage,
	FaxPageAttributes faxPageAttributes
)
Visual Basic
Public Sub InsertPage ( _
	pageIndex As Integer, _
	pageImage As Image, _
	faxPageAttributes As FaxPageAttributes _
)

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.
pageImage
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.

Remarks

If pageImage is a multi-page Image a new page will be inserted in the Fax using the first frame of the Image.

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