PDF Plugin for Xojo

EinhugurPDFWriter.Font Class

A PDF Font object that represents a font in a PDF document.

Object
   Font

class EinhugurPDFWriter.Font

Constructors

FontA Private constructor. Use the functions on the PDFDocument class to create instance of the Font class.

Properties

AscentGets the vertical ascent of the font.
BoundingBoxBottomGets the bottom coord for the Font bounding box.
BoundingBoxLeftGets the left coord for the Font bounding box.
BoundingBoxRightGets the right coord for the Font bounding box.
BoundingBoxTopGets the top coord for the Font bounding box.
DescentGets the vertical descent of the font.
NameReturns the name of the font.

Enumerations

FontEncodingEnumEnum that represents font encodings. PDF font encodings are tricky. If you want to support broad range of languages in your application then we recommend using Automatic here in most cases and setting up fallbacks handler like we show in one of the example projects.

Notes:

You cannot create instance of this class directly with the new operator, the Constructor has been made private to prevent that. Instead you use functions on the PDFDocument class to create instance of a Font.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS