Click or drag to resize

PdfDocumentSetId Method

Sets the Id to a specified Guid value. Both Creation and Modification will be set to the specified Guid value.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1006
Syntax
public PdfDocumentIdentifier SetId(
	Guid value
)

Parameters

value
Type: SystemGuid
The Guid value to which Creation and Modification will be set.

Return Value

Type: PdfDocumentIdentifier
The document's Id.
Exceptions
ExceptionCondition
InvalidOperationExceptionPdfDocument already has an Id. To modify the Id, use Modification property of the PdfDocument's Id.
ArgumentExceptionValue is Empty.
See Also