[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FontInfoCollection.Remove

Remove Method

Remove(FontInfo)

Removes a specified font from the collection.

Declaration
public bool Remove(FontInfo item)
Public Function Remove(item As FontInfo) As Boolean
Parameters
Type Name Description
FontInfo item

The font to remove.

Returns
Type Description
bool

true if the specified font was found and removed from the collection, false otherwise.

Remove(string)

Removes a font with the specified primary name from the collection.

Declaration
public bool Remove(string name)
Public Function Remove(name As String) As Boolean
Parameters
Type Name Description
string name

The primary name of the font to remove.

Returns
Type Description
bool

true if a font with the specified primary name was found and removed from the collection, false otherwise.