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: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public PdfDocumentIdentifier SetId(
	Guid value
)

Parameters

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

Return Value

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