Constructor AttachmentReference
AttachmentReference(Attachment, int)
Initializes a new instance with the specified attachment and optional page index.
public AttachmentReference(Attachment target, int pageIndex = 0)
Parameters
targetAttachmentThe attachment.
pageIndexintZero-based page index. Defaults to 0 (first page).
Exceptions
- ArgumentNullException
Thrown when
targetis null.