BaseAnnotationIsDirty Property |
Gets or sets a value indicating whether the annotation is dirty and in need of being written.
Namespace:
Atalasoft.PdfDoc.Generating.Annotations
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public bool IsDirty { get; set; }
Public Property IsDirty As Boolean
Get
Set
Property Value
Type:
Booleantrue if the annotation is dirty; otherwise,
false.
Remarks
This property is, at present, used only by the PdfDocumentSigner object in order to track
annotations and fields that have been changed in order to update them in the output.
This property is automatically set in the act of setting any property in the annotation, however,
it is
not set when changing the
contents of a property.
someAnnotation.AppearanceSet = GenerateNewAppearanceSet();
someAnnotation.IsDirty = false;
someAnnotation.AppearanceSet.Normal.Add("SomeName", "SomeTemplate");
Therefore, an application that intends to modify annotations should, as a matter of course,
mark them dirty so that they will be updated in the output.
See Also