Platforms to show: All Mac Windows Linux Cross-Platform

Back to DynaPDFFontMetricsMBS class.

DynaPDFFontMetricsMBS.Ascent as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Ascent.

(Read and Write property)

DynaPDFFontMetricsMBS.AvgWidth as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Average character width.

(Read and Write property)

DynaPDFFontMetricsMBS.CapHeight as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Cap height.

(Read and Write property)

DynaPDFFontMetricsMBS.DefWidth as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Default width.

(Read and Write property)

DynaPDFFontMetricsMBS.Descent as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Descent.

(Read and Write property)

DynaPDFFontMetricsMBS.FirstChar as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
First char.

(Read and Write property)

DynaPDFFontMetricsMBS.FixedWidth as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Width of all glyphs in a fixed pitch font.

(Read and Write property)

DynaPDFFontMetricsMBS.FontBBox as DynaPDFRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Font's bounding box.

(Read and Write property)

DynaPDFFontMetricsMBS.FontStyle as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Font style with which the font was loaded.
Example

dim pdf as DynaPDFMBS // your instance

// set font
call pdf.SetFont("Helvetica", pdf.kfsNone, 12)

// and check whether it is bold
dim m as DynaPDFFontMetricsMBS = pdf.GetFontMetrics(pdf.GetActiveFont)
if BitwiseAnd(m.FontStyle, pdf.kfsBold) = pdf.kfsBold then
MessageBox "is bold"
else
MessageBox "is not bold"
end if

// set bold font
call pdf.SetFont("Helvetica", pdf.kfsBold, 12)

// and check whether it is bold
m = pdf.GetFontMetrics(pdf.GetActiveFont)
if BitwiseAnd(m.FontStyle, pdf.kfsBold) = pdf.kfsBold then
MessageBox "is bold"
else
MessageBox "is not bold"
end if

See kfs* constants in DynaPDFMBS class.
(Read and Write property)

DynaPDFFontMetricsMBS.IsFixedPitch as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Is this a fixed pitch font?

(Read and Write property)

DynaPDFFontMetricsMBS.IsStdFont as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Is this is a standard font?

(Read and Write property)

DynaPDFFontMetricsMBS.IsSymbolFont as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Is this is a symbolic font?

(Read and Write property)

DynaPDFFontMetricsMBS.ItalicAngle as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Italic angle of italic fonts.

(Read and Write property)

DynaPDFFontMetricsMBS.LastChar as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Last char.

(Read and Write property)

DynaPDFFontMetricsMBS.LineGap as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Typographic line gap.

(Read and Write property)

DynaPDFFontMetricsMBS.MacStyle as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
macOS style flags.

(Read and Write property)

DynaPDFFontMetricsMBS.RealStyle as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This is the real style of the font (bold and italic styles are maybe emulated)

See kfs* constants in DynaPDFMBS class.
(Read and Write property)

DynaPDFFontMetricsMBS.StemV as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Width of vertical stems.

(Read and Write property)

DynaPDFFontMetricsMBS.StrikeoutPos as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Strikeout position.

(Read and Write property)

DynaPDFFontMetricsMBS.StrikeoutWidth as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Width of the strikeout line.

(Read and Write property)

DynaPDFFontMetricsMBS.TypoAscender as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
sTypoAscender of the OS/2 table of TrueType and OpenType fonts.

(Read and Write property)

DynaPDFFontMetricsMBS.TypoLeading as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 21.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Typographic leading or line height of the font. T

This is TypoAscender - Descent + LineGap.
If typographic metrics are not available then TypoAscender is set to Ascent.
(Read and Write property)

DynaPDFFontMetricsMBS.UnderlinePos as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Underline position.

(Read and Write property)

DynaPDFFontMetricsMBS.UnderlineWidth as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Width of the underline.

(Read and Write property)

DynaPDFFontMetricsMBS.UnicodeRange1 as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Bitset for unicode ranges.

(Read and Write property)

DynaPDFFontMetricsMBS.UnicodeRange2 as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Bitset for unicode ranges.

(Read and Write property)

DynaPDFFontMetricsMBS.UnicodeRange3 as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Bitset for unicode ranges.

(Read and Write property)

DynaPDFFontMetricsMBS.UnicodeRange4 as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Bitset for unicode ranges.

(Read and Write property)

DynaPDFFontMetricsMBS.Weight as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Font weight.

(Read and Write property)

DynaPDFFontMetricsMBS.WidthClass as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Width class of the font.

(Read and Write property)

DynaPDFFontMetricsMBS.WinDescent as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
usWinDescent of the OS/2 table of TrueType and OpenType fonts

(Read and Write property)

DynaPDFFontMetricsMBS.WinStyle as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
fsSelection of the OS/2 table of TrueType and OpenType fonts

(Read and Write property)

DynaPDFFontMetricsMBS.XHeight as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property DynaPDF MBS DynaPDF Plugin 19.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
X-height.

(Read and Write property)

The items on this page are in the following plugins: MBS DynaPDF Plugin.


The biggest plugin in space...