Click or drag to resize

PdfShowHideAction Constructor (Boolean, PdfAnnotationIdentifier)

Initializes a new instance of the PdfShowHideAction class.

Namespace:  Atalasoft.PdfDoc.Actions
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PdfShowHideAction(
	bool willHide,
	params PdfAnnotationIdentifier[] idents
)

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(); // from somewhere else
PdfShowHideAction action = new PdfShowHideAction(false, new PdfAnnotationIdentifier(annot.FieldName));
See Also