[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Annotations.WidgetAnnotation

WidgetAnnotation Class

Represents a widget annotation used in interactive forms to represent the appearance of fields and to manage user interactions.

Namespace: GrapeCity.Documents.Pdf.Annotations
Assembly: DS.Documents.Pdf.dll
Syntax
public class WidgetAnnotation : AnnotationBase, IOwnedObject, IContentItem, IPdfDict, ActionHide.ILinkedObject
Public Class WidgetAnnotation
    Inherits AnnotationBase
    Implements IOwnedObject, IContentItem, IPdfDict, ActionHide.ILinkedObject

Constructors

Name Description
WidgetAnnotation()

Initializes a new instance of the WidgetAnnotation class.

WidgetAnnotation(Page, RectangleF)

Initializes a new instance of the WidgetAnnotation class.

Properties

Name Description
Activate

Gets or sets an action to be performed when the annotation is activated.

ActualJustification

Gets the actual justification to be used in displaying the annotation’s text.

BackColor

Gets or sets the annotation's background color.

Border
ButtonAppearance

Gets the ButtonAppearance object that specifies the look of the widget if it is linked with a push button field.

CheckStyle

Gets or sets the style of check mark that is used if this WidgetAnnotation is linked with a CheckBoxField or a RadioButtonField.

Note that this property works over the Caption property, for example if CheckStyle is Cross, then ButtonAppearance.Caption will be "8".

If the value of this property is null, it indicates that ButtonAppearance.Caption contains an unknown value.
DefaultAppearance

Gets the DefaultAppearance object that specifies the visual properties (font, font size etc.) used to format the content of this annotation.

Events

Gets the WidgetAnnotation.TriggerEvents object that specifies the events for this annotation.

Field

Gets the Field associated with this annotation.

Highlighting

Gets or sets the annotation’s highlighting mode.

Justification

Gets or sets the justification to be used in displaying the annotation’s text.

Note that if this property is not specified (the value is null) then Justification is used. See PDF specification for details.

Name

Gets or sets the name of the annotation. If WidgetAnnotation is used with RadioButtonField then Name is used as a value.

RotationAngle

Gets or sets the angle, in degrees, by which the widget annotation is rotated counterclockwise relative to the page. The value must be a multiple of 90.

Extension Methods