Documents for PDF, .NET Edition Documentation
AddLinkedFont Method

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

Reference

Font Class
Font Members