PdfShowHideAction Constructor (Boolean, PdfAnnotationIdentifier) |
Namespace:
Atalasoft.PdfDoc.Actions
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PdfShowHideAction(
bool willHide,
params PdfAnnotationIdentifier[] idents
)
Public Sub New (
willHide As Boolean,
ParamArray idents As PdfAnnotationIdentifier()
)
Parameters
- willHide
- Type: SystemBoolean
if set to true the target will be hidden, shown otherwise. - idents
- Type: Atalasoft.PdfDoc.ActionsPdfAnnotationIdentifier
The PdfAnnotationIdentifier objects to show or hide.
Examples
This is an example of how to show a field on a page.
TextWidgetAnnotation annot = GetMyTextWidget();
PdfShowHideAction action = new PdfShowHideAction(false, new PdfAnnotationIdentifier(annot.FieldName));
See Also