Click or drag to resize

PdfFont Class

Defines a particular format for text, including font face, size, and style attributes for use by a PdfObject. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  RadPdf.Data.Document.CommonPdfFont

Namespace:  RadPdf.Data.Document.Common
Assembly:  RadPdf (in RadPdf.dll) Version: 3.22.0.0 (3.22.0.0)
Syntax
public sealed class PdfFont

The PdfFont type exposes the following members.

Constructors
  NameDescription
Public methodPdfFont
Create an instance of a PDF font object for use with a PdfObject.
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the text alignment used by the parent PdfObject.
Public propertyBold
Gets or sets a value indicating whether text is bold in the parent PdfObject.
Public propertyCharacterSpacing
Gets or sets the character spacing used by the parent PdfObject.
Public propertyColor
Gets or sets the text color used by the parent PdfObject.
Public propertyIsLocked
Gets a value indicating if this font object is associated with a PdfField which has IsLocked set and whose properties therefore can not be changed.
Public propertyItalic
Gets or sets a value indicating whether text is italicized in the parent PdfObject.
Public propertyLineSpacing
Gets or sets the line spacing used by the parent PdfObject.
Public propertyName
Gets or sets the font used in the parent PdfObject.
Public propertySize
Gets or sets the text size used in the parent PdfObject.
Public propertyUnderline
Gets or sets a value indicating whether text is underlined in the parent PdfObject.
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 a hash function for a particular type.
(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
Fields
  NameDescription
Public fieldStatic memberSizeAuto
Font size constant for a PdfField's Size indicating that the text size of a form field should automatically be adjusted to fit its contents.
Top
See Also