Version 24.2 (latest)

OpenStyleLibrary(String,Boolean) Method

Shows an open file dialog to allow opening a Style Library from a file.
Syntax
public bool OpenStyleLibrary( 
   string fileName,
   bool showFileOpenDialog
)

Parameters

fileName
The default filename of the open file dialog.
showFileOpenDialog
Specifies whether to show the file dialog. If false, the file specified by filename will be opened without showing the dialog.

Return Value

Returns true if a library file was successfuly loaded.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also