Text |
Note: This API is now obsolete.
Create a text stamp annotation.
The width of the annotation is computed from the given stamp text. The returned text stamp annotation is not yet part of any page. It can be added to a page's list of annotations.[ObsoleteAttribute("Deprecated in Version 1.0. Use static method TextStamp.Create instead.")] public static TextStamp CreateRaw( Document targetDocument, Point topLeft, double? height, TextStampType textType, string text )
Exception | Condition |
---|---|
ArgumentException | if the targetDocument has already been closed |
ArgumentException | if the targetDocument is read-only |
ArgumentException | if the textType argument is CustomStampText |
ArgumentException | if the text argument is empty |
ArgumentNullException | if targetDocument is . |
ArgumentNullException | if text is . |