Documents for PDF .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / Font Class / AddLinkedFont Method
The Font to be added as linked font.
The scale factor applied to size of the base font when the linked font is used instead.

In This Topic
    AddLinkedFont Method
    In This Topic
    Adds a link to the specified Font.
    Syntax
    'Declaration
     
    Public Function AddLinkedFont( _
       ByVal linkedFont As Font, _
       Optional ByVal scaleFactor As System.Nullable(Of Single) _
    ) As System.Boolean
    public System.bool AddLinkedFont( 
       Font linkedFont,
       System.Nullable<float> scaleFactor
    )

    Parameters

    linkedFont
    The Font to be added as linked font.
    scaleFactor
    The scale factor applied to size of the base font when the linked font is used instead.

    Return Value

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