public class CanvasTextAdditionContext extends Object implements IValidationContext
| Constructor and Description |
|---|
CanvasTextAdditionContext(String text,
PdfDictionary attributes,
PdfStream contentStream)
Creates
CanvasTextAdditionContext instance. |
| Modifier and Type | Method and Description |
|---|---|
PdfDictionary |
getAttributes()
Gets
PdfDictionary attributes which correspond to the added text. |
PdfStream |
getContentStream()
Returns
PdfStream on which text is written. |
PdfNumber |
getMcId()
Gets
PdfNumber which represents MCID of this text. |
String |
getText()
Gets text which was added to canvas.
|
ValidationType |
getType()
Gets type of the context.
|
public CanvasTextAdditionContext(String text, PdfDictionary attributes, PdfStream contentStream)
CanvasTextAdditionContext instance.text - text which was added to canvasattributes - PdfDictionary attributes which correspond to this textcontentStream - PdfStream in which text is writtenpublic String getText()
public PdfNumber getMcId()
PdfNumber which represents MCID of this text.PdfNumber which represents MCID of this textpublic PdfDictionary getAttributes()
PdfDictionary attributes which correspond to the added text.PdfDictionary attributes which correspond to the added textpublic PdfStream getContentStream()
PdfStream on which text is written.PdfStream on which text is writtenpublic ValidationType getType()
IValidationContextgetType in interface IValidationContextCopyright © 1998–2025 Apryse Group NV. All rights reserved.