PDFVisualComboBoxWidget¶
Namespace: O2S.Components.PDF4NET.View.Forms
Defines a comboxbox widget that is displayed in a PDFDocumentView control.
Inheritance Object → PDFVisualAnnotation → PDFVisualFieldWidget → PDFVisualComboBoxWidget
Constructors¶
PDFVisualComboBoxWidget(PDFDropDownListWidget)¶
Initializes a new PDFVisualComboBoxWidget object.
Parameters
fieldWidget PDFDropDownListWidget
The underlying field widget.
Properties¶
Annotation¶
Gets the underlying PDF annotation.
Property Value
PDFAnnotation
A PDF annotation.
BackgroundColor¶
Gets or sets the widget background color.
Property Value
PDFColor
A specifying the widget's background color.
Exceptions
ArgumentOutOfRangeException
Thrown when the property is set to a color other than Gray, RGB or CMYK.
BorderColor¶
Gets or sets the widget border color.
Property Value
PDFColor
A specifying the widget's border color.
Exceptions
ArgumentOutOfRangeException
Thrown when the property is set to a color other than Gray, RGB or CMYK.
BorderDashPattern¶
Gets or sets the array that represents the dash pattern when the PDFVisualFieldWidget.BorderStyle property is set to .
Property Value
Double[]
An array of double values specifying the style of the dashed line.
BorderStyle¶
Gets or sets the widget border style.
Property Value
PDFAnnotationBorderStyle
A enum specifying the style of the widget border.
BorderWidth¶
Gets or sets the widget border width.
Property Value
Double
A specifying the widget's border width.
ComboBoxWidget¶
Gets the underlying comboxbox widget.
Property Value
PDFDropDownListWidget
A object representing the non-visual comboxbox widget.
DisplayRectangle¶
Gets or sets the visual rectangle of this annotation.
Property Value
PDFDisplayRectangle
A that represents the position and size of the annotation on the page.
Remarks
The visual rectangle is relative to the top left corner of the page.
NormalAppearance¶
Gets or sets the annotation normal appearance.
Property Value
PDFAnnotationAppearance
A specifying how the annotation is presented visually on the page.
Tag¶
Gets or sets an object that contains user-defined data associated with the annotation.
Property Value
Remarks
This property can be used to store any custom information relevant to the annotation at
runtime. The value is not used by the annotation itself and is intended solely for application-specific
data.
NOTE: The value of this property is not persisted in the PDF file.
VisualField¶
Gets the visual field that owns this widget.
Property Value
PDFVisualField
A PDFVisualField descendant that represents a field in the PDF document.
VisualPage¶
Gets the page that owns the anotation.
Property Value
PDFVisualPage
The PDFVisualPage that owns the annotation.
Widget¶
Gets the underlying field widget.
Property Value
PDFFieldWidget
A object representing the non-visual field widget.