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
file
Type: Microsoft.SharePoint.SPFileThe SPFile containing the SPFont XML data
- readPublishedVersion
Type: System.Boolean
Return value
Type: Microsoft.SharePoint.Utilities.SPFont
An SPFont object