[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.Font.AddLinkedFont

AddLinkedFont Method

AddLinkedFont(Font, float?)

Adds a link to the specified Font.

Declaration
public bool AddLinkedFont(Font linkedFont, float? scaleFactor = null)
Public Function AddLinkedFont(linkedFont As Font, Optional scaleFactor As Single? = Nothing) As Boolean
Parameters
Type Name Description
Font linkedFont

The Font to be added as linked font.

float? scaleFactor

The scale factor applied to size of the base font when the linked font is used instead.

Returns
Type Description
bool

True if the link was successfully added, False if the same font is already linked.