Skip to main content

CeTeBullets

Version: 8.0

cete.dynamicpdf.text.cetebullets

CeTeBullets​

Represents a CeTeBullets font.

public class CeTeBullets : Font
Public Class CeTeBullets
Inherits Font

Inheritance: Object → Resource → Font → CeTeBullets

Licensing​

This class is a DynamicPDF Generator Community Edition feature.

Properties​

Ascender​

Gets the ascender for the font.

public short Ascender { get; }
Public Property Ascender As Int16

Property Value​

Int16

Descender​

Gets the descender for the font.

public short Descender { get; }
Public Property Descender As Int16

Property Value​

Int16

Encoder​

Gets the encoder for the font. (Inherited from Font)

public Encoder Encoder { get; }
Public Property Encoder As Encoder

Property Value​

Encoder

FormFontName​

Gets the four character name of the font. (Inherited from Font)

public string FormFontName { get; }
Public Property FormFontName As String

Property Value​

String

LineBreaker​

Gets the default line breaker for the font.

public LineBreaker LineBreaker { get; }
Public Property LineBreaker As LineBreaker

Property Value​

LineBreaker

LineGap​

Gets the line gap for the font.

public short LineGap { get; }
Public Property LineGap As Int16

Property Value​

Int16

Name​

Gets the name of the font.

public string Name { get; }
Public Property Name As String

Property Value​

String

RequiredPdfObjects​

Gets the number of PDF objects required by the Zapf Dingbats font.

public int RequiredPdfObjects { get; }
Public Property RequiredPdfObjects As Int32

Property Value​

Int32

ResourceType​

Gets the resource type. (Inherited from Font)

public ResourceType ResourceType { get; }
Public Property ResourceType As ResourceType

Property Value​

ResourceType

Uid​

Gets the unique ID of the resource. (Inherited from Resource)

public long Uid { get; }
Public Property Uid As Int64

Property Value​

Int64

Methods​

Draw(DocumentWriter)​

Draws the font definition to the given DocumentWriter object.

public void Draw(DocumentWriter writer)
Sub Draw(writer As DocumentWriter)

Parameters​

DocumentWriter to receive the core font's output.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetAscender(Single)​

Returns the ascender of the font in points for the given font size. (Inherited from Font)

public float GetAscender(float fontSize)
Function GetAscender(fontSize As Single) As Single

Parameters​

Font size to use for the calculation.

Returns​

The ascender in points.

GetBaseLine(Single, Single)​

Returns the baseline of the font in points for the given leading and font size. (Inherited from Font)

public float GetBaseLine(float fontSize, float leading)
Function GetBaseLine(fontSize As Single, leading As Single) As Single

Parameters​

Font size to use for the calculation.

Leading to use for the calculation.

Returns​

The baseline in points.

GetDefaultLeading(Single)​

Returns the default leading of the font in points for the given font size. (Inherited from Font)

public float GetDefaultLeading(float fontSize)
Function GetDefaultLeading(fontSize As Single) As Single

Parameters​

Font size to use for the calculation.

Returns​

The default leading in points.

GetDescender(Single)​

Returns the descender of the font in points for the given font size. (Inherited from Font)

public float GetDescender(float fontSize)
Function GetDescender(fontSize As Single) As Single

Parameters​

Font size to use for the calculation.

Returns​

The descender in points.

GetGlyphWidth(Char)​

Return the width of the glyph.

public short GetGlyphWidth(char glyph)
Function GetGlyphWidth(glyph As Char) As Short

Parameters​

Glyph to return the width for.

Returns​

The width of the glyph.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetKernValue(Char, Char)​

Returns kerning space between two chars. (Inherited from Font)

public float GetKernValue(char left, char right)
Function GetKernValue(left As Char, right As Char) As Single

Parameters​

Char in left side of the pair.

Char in the right side of the pair.

Returns​

Kerning space between the given chars.

GetLineGap(Single)​

Returns the line gap of the font in points for the given font size. (Inherited from Font)

public float GetLineGap(float fontSize)
Function GetLineGap(fontSize As Single) As Single

Parameters​

Font size to use for the calculation.

Returns​

The line gap in points.

GetTextLines(Char[], Single, Single)​

Returns a TextLineList for the given character array. (Inherited from Font)

public TextLineList GetTextLines(Char[] text, float width, float fontSize)
Function GetTextLines(text As Char[], width As Single, fontSize As Single) As TextLineList

Parameters​

Character array containing the text.

Width to use when calculating the text lines.

Font size to use when calculating the text lines.

Returns​

A TextLineList containing the text.

GetTextLines(Char[], Single, Single, Single)​

Returns a TextLineList for the given character array. (Inherited from Font)

public TextLineList GetTextLines(Char[] text, float width, float height, float fontSize)
Function GetTextLines(text As Char[], width As Single, height As Single, fontSize As Single) As TextLineList

Parameters​

Character array containing the text.

Width to use when calculating the text lines.

Height to use when calculating the text lines.

Font size to use when calculating the text lines.

Returns​

A TextLineList containing the text.

GetTextWidth(Char[], Single)​

Returns the width of the given text. (Inherited from Font)

public float GetTextWidth(Char[] text, float fontSize)
Function GetTextWidth(text As Char[], fontSize As Single) As Single

Parameters​

Byte array or text whose width is returned.

Font size of text.

Returns​

Width of text in points.

GetTextWidth(String, Single)​

Returns the width of the given text. (Inherited from Font)

public float GetTextWidth(string text, float fontSize)
Function GetTextWidth(text As String, fontSize As Single) As Single

Parameters​

Text whose width is returned.

Font size of text.

Returns​

Width of text in points.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

HasKerning()​

Indicates whether the given font is having Kerning pairs or not. (Inherited from Font)

public bool HasKerning()
Function HasKerning() As Boolean

Returns​

Bool indicating presence of kern pairs.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.Text