|
AddStampAnnot |
Top Previous Next |
|
[This method is new in Gnostice eDocEngine ActiveX/.NET v2.0 Professional Edition]
The AddStampAnnot method is used to add a stamp annotation to the PDF document. To add a stamp Annotation, create an instance of gtPDFStampAnnotX, set its properties and pass it to AddStampAnnot.
Syntax
Note: The annotation items added using this method need not be freed by the user. All the items will be freed at the end when EndDoc is called.
Parameters
Item Specifies the stamp annotation object to be added.
Example Code
[C#] gtPDFStampAnnotX StmpAnnot ; StmpAnnot = AxgtPDFEngineX1.CreateStampAnnot(); StmpAnnot.SetRect(1,1,1.5,1.5); StmpAnnot.BorderColor = (uint) ColorTranslator.ToOle(Color.DarkViolet); StmpAnnot.Title = "stmpAnnotation Title"; StmpAnnot.Subject = "stmpAnnotation Subject"; StmpAnnot.Contents = " stmpAnnotation contents"; StmpAnnot.StampType = TxgtStampType.stExperimental; AxgtPDFEngineX1.AddStampAnnot(StmpAnnot);
|