You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/radpdfprocessing/editing/fixedcontenteditor.md
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,6 @@ position: 4
29
29
|**DrawStampAnnotation**|Creates a new [StampAnnotation]({%slug radpdfprocessing-model-annotations-stamp%}) and draws it with a specified size and name.|
30
30
|**DrawTextAnnotation**|Creates a new [TextAnnotation]({%slug radpdfprocessing-model-annotations-text%}) and draws it with a specified size and text.|
31
31
|**DrawLineAnnotation**|Creates a new [LineAnnotation]({%slug radpdfprocessing-model-annotations-line%}) with starting point the current point of the editor and end point the current point of the editor plus the given distances.|
32
-
|**DrawPopupAnnotation**|Creates a new [PopupAnnotation]({%slug radpdfprocessing-model-annotations-popup%}), associates it with a [markup annotation]({%slug radpdfprocessing-model-annotations-overview%}), and draws it with the specified size and properties.|
33
32
|**DrawLine**|Draws a line from point A to point B.|
34
33
|**DrawRectangle**|Draws a rectangle ([Geometry]({%slug radpdfprocessing-concepts-geometry%})).|
35
34
|**DrawEllipse**|Draws an ellipse ([Geometry]({%slug radpdfprocessing-concepts-geometry%})).|
Copy file name to clipboardExpand all lines: libraries/radpdfprocessing/model/annotations/popup.md
+2-40Lines changed: 2 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -23,53 +23,15 @@ The **PopupAnnotation** class is a derivative of the **Annotation** class and it
23
23
24
24
Popup annotations are typically created in association with another markup annotation, such as Text, Line, TextMarkup or Stamp. The following example shows how to create a PopupAnnotation associated with a TextAnnotation:
The popup annotation will display the contents of the text annotation in a pop-up window.
37
29
38
30
## Creating a PopupAnnotation with FixedContentEditor
39
31
40
-
You can create a popup annotation by using the FixedContentEditor's **DrawPopupAnnotation** method. The constructor expects two parameters - the size of the popup and the markup annotation to be associated with the popup:
When creating a TextAnnotation with the [FixedContentEditor]({%slug radpdfprocessing-editing-fixedcontenteditor%})'s **DrawTextAnnotation** method, you can also associate a popup annotation by setting the `addPopup` parameter to **true**:
This code creates a [TextAnnotation]({%slug radpdfprocessing-model-annotations-text%}) with an associated **PopupAnnotation**. The popup will display the text provided in the method call.
0 commit comments