Click or drag to resize

TextObject Class

Text drawn on a page by one text-showing operation (often a line, a word or a run of a line).
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PdfDocumentPageObject
    ExpertPdf.Anywhere.PdfDocumentTextObject

Namespace: ExpertPdf.Anywhere.PdfDocument
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class TextObject : PageObject

The TextObject type exposes the following members.

Properties
 NameDescription
Public propertyBounds Gets the box the object covers on the page, in points from the top-left corner of the page as displayed.
(Inherited from PageObject)
Public propertyFillColor 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)
Public propertyFontNameGets the name of the font the text is drawn with (without a subset prefix).
Public propertyFontSizeGets the size the text is drawn at on the page, in points.
Public propertyIsFontEmbeddedGets whether the font is embedded in the document.
Public propertyKindGets the kind of the object.
(Inherited from PageObject)
Public propertyLayer 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)
Public propertyOpacity 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)
Public propertyPageGets the page the object is drawn on.
(Inherited from PageObject)
Public propertyParentGets the group the object is drawn in, or null when it is drawn on the page directly.
(Inherited from PageObject)
Public propertyRenderModeGets how the glyphs are painted.
Public propertyStrokeColorGets or sets the color the object is outlined with (see FillColor).
(Inherited from PageObject)
Public propertyTextGets the text, as Unicode.
Top
Methods
 NameDescription
Public methodBringToFrontDraws the object over everything else in its group (or on the page).
(Inherited from PageObject)
Public methodDuplicateDraws a copy of the object just above it, moved by (dx, dy) points, and returns the copy.
(Inherited from PageObject)
Public methodRemoveRemoves the object from the page. A removed object can no longer be used.
(Inherited from PageObject)
Public methodReplaceText(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.
Public methodReplaceText(String, PdfFont)Replaces the text in another font, from the same starting point and at the same size.
Public methodRotateRotates the object about the center of its bounds.
(Inherited from PageObject)
Public methodScaleResizes the object about the top-left corner of its bounds.
(Inherited from PageObject)
Public methodSendToBackDraws the object under everything else in its group (or on the page).
(Inherited from PageObject)
Public methodToStringReturns the kind and bounds of the object.
(Inherited from PageObject)
Public methodTranslateMoves the object.
(Inherited from PageObject)
Top
See Also