TextCreate Method (SDFDoc, Rect, String) |
Creates a new Text annotation, in the specified document.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static Text Create(
SDFDoc doc,
Rect pos,
string contents
)
Public Shared Function Create (
doc As SDFDoc,
pos As Rect,
contents As String
) As Text
public:
static Text^ Create(
[InAttribute] SDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] String^ contents
)
pdftron.PDF.Annots.Text.Create = function(doc, pos, contents);
Parameters
- doc
- Type: pdftron.SDFSDFDoc
A document to which the annotation is added.
- pos
- Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in
user space coordinates.
- contents
- Type: SystemString
The text contents of the Text annotation.
Return Value
Type:
Text A newly created Text annotation.
See Also