Text |
The TextObject type exposes the following members.
| Name | Description | |
|---|---|---|
| Bounds |
Gets the box the object covers on the page, in points from the top-left corner of the page as displayed.
(Inherited from PageObject) | |
| FillColor |
Gets or sets the color the object is filled with. Reading it gives an RGB approximation; the empty color
when it cannot be expressed in RGB (a pattern, a spot color). Setting it paints the object in RGB.
(Inherited from PageObject) | |
| FontName | Gets the name of the font the text is drawn with (without a subset prefix). | |
| FontSize | Gets the size the text is drawn at on the page, in points. | |
| IsFontEmbedded | Gets whether the font is embedded in the document. | |
| Kind | Gets the kind of the object. (Inherited from PageObject) | |
| Layer |
Gets or sets the layer the object is drawn in, or null when it is in none. Setting it moves the object into
the layer; null takes it out of every layer.
(Inherited from PageObject) | |
| Opacity |
Gets or sets the opacity of the object, from 0 (transparent) to 1 (opaque). Reading it gives the fill
opacity; setting it sets the fill and the outline opacity.
(Inherited from PageObject) | |
| Page | Gets the page the object is drawn on. (Inherited from PageObject) | |
| Parent | Gets the group the object is drawn in, or null when it is drawn on the page directly. (Inherited from PageObject) | |
| RenderMode | Gets how the glyphs are painted. | |
| StrokeColor | Gets or sets the color the object is outlined with (see FillColor). (Inherited from PageObject) | |
| Text | Gets the text, as Unicode. |
| Name | Description | |
|---|---|---|
| BringToFront | Draws the object over everything else in its group (or on the page). (Inherited from PageObject) | |
| Duplicate | Draws a copy of the object just above it, moved by (dx, dy) points, and returns the copy. (Inherited from PageObject) | |
| Remove | Removes the object from the page. A removed object can no longer be used. (Inherited from PageObject) | |
| ReplaceText(String) | Replaces the text, from the same starting point and at the same size, in the object's font where it can draw every character, else in an installed font that can. A longer text is not wrapped: it runs on. | |
| ReplaceText(String, PdfFont) | Replaces the text in another font, from the same starting point and at the same size. | |
| Rotate | Rotates the object about the center of its bounds. (Inherited from PageObject) | |
| Scale | Resizes the object about the top-left corner of its bounds. (Inherited from PageObject) | |
| SendToBack | Draws the object under everything else in its group (or on the page). (Inherited from PageObject) | |
| ToString | Returns the kind and bounds of the object. (Inherited from PageObject) | |
| Translate | Moves the object. (Inherited from PageObject) |