Share via


SPFont.Open method (SPFile, Boolean)

Opens an SPFont file object from the given SPFile

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function Open ( _
    file As SPFile, _
    readPublishedVersion As Boolean _
) As SPFont
'Usage
Dim file As SPFile
Dim readPublishedVersion As Boolean
Dim returnValue As SPFont

returnValue = SPFont.Open(file, readPublishedVersion)
public static SPFont Open(
    SPFile file,
    bool readPublishedVersion
)

Parameters

Return value

Type: Microsoft.SharePoint.Utilities.SPFont
An SPFont object

See also

Reference

SPFont class

SPFont members

Open overload

Microsoft.SharePoint.Utilities namespace