Click or drag to resize

PdfTextAppearance Class

PdfTextAppearance represents the general characteristics of text on page, including font name, size, character spacing, leading, and so on.
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.Generating.RenderingPdfTextAppearance

Namespace:  Atalasoft.PdfDoc.Generating.Rendering
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class PdfTextAppearance

The PdfTextAppearance type exposes the following members.

Constructors
  NameDescription
Public methodPdfTextAppearance
Initializes a new instance of the PdfTextAppearance class.
Public methodPdfTextAppearance(String, Double)
Initializes a new instance of the PdfTextAppearance class with the given font and size in points.
Top
Properties
  NameDescription
Public propertyCharacterSpacing
Gets or sets the character spacing.
Public propertyFillColor
Gets or sets the fill color of the text. This is only used in one of the text render modes that uses filling.
Public propertyFontName
Gets or sets the name of the font. This is a resource name, not the font's name.
Public propertyFontSize
Gets or sets the size of the font in points.
Public propertyHorizontalScaling
Gets or sets the horizontal scaling of characters as they are placed on the page as a percentage. 100 is normal. Less than 100 is narrower, greater is wider.
Public propertyLeading
Gets or sets the leading or spacing between lines.
Public propertyMatrix
Gets or sets the font matrix.
Public propertyRenderMode
Gets or sets the render mode for the text.
Public propertyRise
Gets or sets the rise, or how much characters sit above (or below) the baseline. This is used for creating superscript or subscript writing.
Public propertyStrokeColor
Gets or sets the stroke color of the text. This is only used in one of the text render modes that uses stroking.
Public propertyWordSpacing
Gets or sets the word spacing.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
The following are the default values for the class: MatrixThe identity matrix.CharacterSpacing0WordSpacing0HorizontalScaling100Leading0RenderModeFillTextRise0FillColorGray 0 (ie, black)StrokeColornull - no stroke, fill onlyFontSize0FontNamenull
See Also