Skip to main content

PageFontList

Version: 11.0

cete.dynamicpdf.io.pagefontlist

PageFontList​

Represents a collection of fonts for a page.

public class PageFontList
Public Class PageFontList

Inheritance: Object → PageFontList

Properties​

Count​

Gets the number of fonts in the collection.

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

Property Value​

Int32

Methods​

Add(Resource, PageWriter)​

Writes the PDF name for the Font to the page and adds it to the pages resource list if it has not previously been added.

public void Add(Resource font, PageWriter writer)
Sub Add(font As Resource, writer As PageWriter)

Parameters​

Font to add to the page.

The writer for the current page.

DrawEntries(DocumentWriter)​

Draws the font's dictionary entries to the given DocumentWriter object.

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

Parameters​

DocumentWriter to receive the 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.

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 .

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.

SetStartingNameNumber(Int32)​

Sets the starting name number for the fonts collection.

public void SetStartingNameNumber(int startingNameNumber)
Sub SetStartingNameNumber(startingNameNumber As Integer)

Parameters​

  • startingNameNumber: Int32

The starting name number.

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.IO