TextWidgetAnnotation Methods |
The TextWidgetAnnotation type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GenerateAutoFontSize |
Calculates the font size used for auto-sized fonts.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasAppearance |
Determines whether this instance has at least 1 element in the Normal appearance set.
(Inherited from BaseAnnotation.) | |
IsValidChildOf |
Determines whether this annotation is valid child of the specified form field. Returns true is elem is a
GenericFormField or a TextFormField (Overrides BaseWidgetAnnotationIsValidChildOf(IFormElement).) | |
MakeBasicAppearance |
Makes the basic appearance for the annotation. Unlike CheckboxWidgetAnnotation, TextWidgetAnnotation
can't easily share the same appearance since appearances are geometrically scaled to fit the bounds of the annotation.
This means that border outlines will grow or shrink when drawn. When the Bounds of the
annotation change, the appearance needs to be rebuilt in order to render correctly in the document.
This method is provided so that, for example, client code might add in custom coloring or easily build consistent
appearances for when the annotation has been cliecked on or when it is rolled over.
| |
MakeRepairContext |
Makes the repair context for repairing problems in this annotation object. An object implementing IValidatable
should at least return an empty RepairContext object.
(Inherited from BaseAnnotation.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyResourceRenamed |
This method is called when a global resourec has been renamed, allowing the resource consumer to update to the
new name. Annotations defer this to their appearance, if any.
(Inherited from BaseAnnotation.) | |
ResourcesUsed |
Reports a list of all resources consumed by the object of the given class.
(Inherited from BaseAnnotation.) | |
ThrowIfReadOnlyT |
If EnforceReadyOnlyWithException is true and ReadOnly is true,
throw an InvalidOperationException, otherwise return value.
(Inherited from BaseAnnotation.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Validates the annotation and accumulates any problems.
(Inherited from BaseAnnotation.) | |
ValidateActionList |
Validates the action list.
(Inherited from BaseAnnotation.) | |
ValidateActions |
Validates the actions.
(Inherited from BaseAnnotation.) | |
ValidateProperties |
Validates the properties of this object and adds any issues to the problems list.
(Overrides BaseWidgetAnnotationValidateProperties(ProblemList, PageRepairContext).) |