| PdfControl Constructor |
Create a new control and assign it to the specified field.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax protected PdfControl(
PdfField field,
PdfPage page,
FS_RECTF rect,
FS_COLOR borderColor,
FS_COLOR backgroundColor,
FormHighlightingMode highlightingMode,
PageRotate rotation,
float borderWidth,
BorderStyles borderStyle,
float[] dashPattern
)
Protected Sub New (
field As PdfField,
page As PdfPage,
rect As FS_RECTF,
borderColor As FS_COLOR,
backgroundColor As FS_COLOR,
highlightingMode As FormHighlightingMode,
rotation As PageRotate,
borderWidth As Single,
borderStyle As BorderStyles,
dashPattern As Single()
)
protected:
PdfControl(
PdfField^ field,
PdfPage^ page,
FS_RECTF rect,
FS_COLOR borderColor,
FS_COLOR backgroundColor,
FormHighlightingMode highlightingMode,
PageRotate rotation,
float borderWidth,
BorderStyles borderStyle,
array<float>^ dashPattern
)
new :
field : PdfField *
page : PdfPage *
rect : FS_RECTF *
borderColor : FS_COLOR *
backgroundColor : FS_COLOR *
highlightingMode : FormHighlightingMode *
rotation : PageRotate *
borderWidth : float32 *
borderStyle : BorderStyles *
dashPattern : float32[] -> PdfControl
protected PdfControl(
PdfField field,
PdfPage page,
FS_RECTF rect,
FS_COLOR borderColor,
FS_COLOR backgroundColor,
FormHighlightingMode highlightingMode,
PageRotate rotation,
float borderWidth,
BorderStyles borderStyle,
float[] dashPattern
)
Patagames.Pdf.Net.PdfControl = function(field, page, rect, borderColor, backgroundColor, highlightingMode, rotation, borderWidth, borderStyle, dashPattern);
Parameters
- field PdfField
- The field to which this control is assigned./>
- page PdfPage
- The page that will host this control.
- rect FS_RECTF
- The area on the page where this control should be placed.
- borderColor FS_COLOR
- The color of the control’s border.
- backgroundColor FS_COLOR
- The color of the control’s background.
- highlightingMode FormHighlightingMode
- The control’s highlighting mode, the visual effect to be used when the mouse button is pressed or held down inside its active area.
- rotation PageRotate
- A value indicating how the pushbutton control is rotated counterclockwise relative to the page.
- borderWidth Single
- The border width in points.
- borderStyle BorderStyles
- The border style.
- dashPattern Single
- An array defining a pattern of dashes and gaps to be used in drawing a dashed border. The dash array is specified in the same format as in the line dash pattern parameter of the graphics state. The dash phase is not specified and is assumed to be 0. For example, a DashPattern property of[3 2] specifies a border drawn with 3-point dashes alternating with 2-point gaps.
See Also