| TextWatermark Class | 
 Inheritance Hierarchy
Inheritance Hierarchy
 
Namespace: Spire.Doc
 Syntax
Syntax
 
The TextWatermark type exposes the following members.
 Constructors
Constructors
 
| Name | Description | |
|---|---|---|
|   | TextWatermark | 
 Initializes a new instance of the
 
TextWatermark
 
 class.
 | 
|   | TextWatermark(String) | 
 Initializes a new instance of the
 
TextWatermark
 
 class.
 | 
|   | TextWatermark(String, String, Int32, WatermarkLayout) | 
 Initializes a new instance of the
 
TextWatermark
 
 class.
 | 
 Properties
Properties
 
| Name | Description | |
|---|---|---|
|   | CharacterFormat | 
 Gets the character format.
(Inherited from
 ParagraphBase
.) | 
|   | ChildObjects | 
 Gets the child objects of the entity.
(Inherited from
 ParagraphBase
.) | 
|   | Color | 
 Gets or sets text watermark color.
 | 
|   | DeleteRevision | 
 Gets the delete revision for this objects.
Note this can be null. If null does not have delete revision.
(Inherited from
 ParagraphBase
.) | 
|   | Document | 
 Gets the document.
(Inherited from
 OwnerHolder
.) | 
|   | DocumentObjectType | 
 Gets the type of the document object.
(Inherited from
 WatermarkBase
.) | 
|   | FirstChild | 
 Gets the first child of the Element.
(Inherited from
 DocumentObject
.) | 
|   | FontName | 
 Gets or sets watermark text's font name.
 | 
|   | FontSize | 
 Gets or sets text watermark size.
 | 
|   | InsertRevision | 
 Gets the insert revision for this objects.
Note this can be null. If null does not have insert revision.
(Inherited from
 ParagraphBase
.) | 
|   | IsComposite | 
 Indicating whether this instance is composite.
(Inherited from
 DocumentObject
.) | 
|   | IsDeleteRevision | 
 Gets or set a value indicating whether this item was deleted from the document,
when "Track Changes" is or was set to "true".
(Inherited from
 ParagraphBase
.) | 
|   | IsInsertRevision | 
 Gets a value indicating whether this item was inserted to the document,
when "Track Changes" is or was set to "true".
(Inherited from
 ParagraphBase
.) | 
|   | LastChild | 
 Gets the last child of the Element.
(Inherited from
 DocumentObject
.) | 
|   | Layout | 
 Gets or sets layout for Text watermark.
 | 
|   | NextSibling | 
 Gets the next sibling.
(Inherited from
 DocumentObject
.) | 
|   | Owner | 
 Gets the owner of this entity.
(Inherited from
 DocumentObject
.) | 
|   | OwnerParagraph | 
 Gets owner paragraph.
(Inherited from
 ParagraphBase
.) | 
|   | PreviousSibling | 
 Gets the previous sibling.
(Inherited from
 DocumentObject
.) | 
|   | Semitransparent | 
 Gets or sets semitransparent property for Text watermark.
 | 
|   | StyleName | 
 Gets the style name.
(Inherited from
 ParagraphBase
.) | 
|   | Text | 
 Gets or sets watermark text
 | 
|   | Type | 
 Gets the watermark type.
(Inherited from
 WatermarkBase
.) | 
|   | XDLSHolder | (Inherited from DocumentSerializable .) | 
 Methods
Methods
 
| Name | Description | |
|---|---|---|
|   | ApplyCharacterFormat | 
 Applies the specified character format to the current object.
(Inherited from
 ParagraphBase
.) | 
|   | ApplyStyle | 
 Applies the specified character style to the current object.
If the specified style does not exist and the style name is "default paragraph font",
a new built-in style is created and added to the document.
If the specified style still cannot be found, an ArgumentException is thrown.
(Inherited from
 ParagraphBase
.) | 
|   | Clone | 
 Creates a duplicate of the document object.
(Inherited from
 DocumentObject
.) | 
|   | CloneImpl | (Overrides WatermarkBase CloneImpl .) | 
|   | CreateLayoutInfo | (Inherited from WatermarkBase .) | 
|   | Equals | 
 Determines whether the specified object is equal to the current object.
(Inherited from
 Object
.) | 
|   | Finalize | 
 Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
 Object
.) | 
|   | GetHashCode | 
 Serves as the default hash function.
(Inherited from
 Object
.) | 
|   | GetNextWidgetSibling | 
 Gets the next widget sibling.
(Inherited from
 ParagraphBase
.) | 
|   | GetPreviousWidgetSibling | 
 Gets the previous widget sibling.
(Inherited from
 ParagraphBase
.) | 
|   | GetType | 
 Gets the
 
Type
 
 of the current instance.
(Inherited from
 Object
.) | 
|   | InitXDLSHolder | (Inherited from DocumentSerializable .) | 
|   | MemberwiseClone | 
 Creates a shallow copy of the current
 
Object
 
 .
(Inherited from
 Object
.) | 
|   | ReadXmlAttributes | (Overrides WatermarkBase ReadXmlAttributes(IXDLSAttributeReader) .) | 
|   | ReadXmlContent | (Inherited from DocumentSerializable .) | 
|   | RestoreReference | (Inherited from DocumentSerializable .) | 
|   | ToString | 
 Returns a string that represents the current object.
(Inherited from
 Object
.) | 
|   | ToString(String) | 
 Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from
 DocumentObject
.) | 
|   | WriteXmlAttributes | (Overrides WatermarkBase WriteXmlAttributes(IXDLSAttributeWriter) .) | 
|   | WriteXmlContent | (Inherited from DocumentSerializable .) | 
 Fields
Fields
 
| Name | Description | |
|---|---|---|
|   | m_doc | (Inherited from OwnerHolder .) | 
|   | mShapeObject | (Inherited from WatermarkBase .) | 
 See Also
See Also