Property | Type | Description | |
---|---|---|---|
GetPreviewHandlerGUID | System.Guid | ||
SHCreateItemFromParsingName | void |
Method | Description | |
---|---|---|
Open ( Stream stream, System.Guid previewHandler ) : bool |
Opens the specified stream using the preview handler COM type with the provided GUID and displays the result in this PreviewHandlerHost.
|
|
Open ( string filename, System.Guid &previewGuid ) : bool |
Opens the specified file using the appropriate preview handler and displays the result in this PreviewHandlerHost.
|
|
PreviewHandlerHost ( ) : System |
Initialialises a new instance of the PreviewHandlerHost class.
|
|
UnloadPreviewHandler ( ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the PreviewHandlerHost and optionally releases the managed resources.
|
|
OnPaint ( PaintEventArgs e ) : void |
Paints the error message text on the PreviewHandlerHost control.
|
|
OnResize ( |
Resizes the hosted preview handler when this PreviewHandlerHost is resized.
|
Method | Description | |
---|---|---|
GetPreviewHandlerGUID ( string filename ) : System.Guid | ||
SHCreateItemFromParsingName ( [ pszPath, [ pbc, [ riid, [ IidParameterIndex = 2)]outIShellItemppv ) : void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnResize ( |
||
e | ||
return | void |
public Open ( Stream stream, System.Guid previewHandler ) : bool | ||
stream | Stream | |
previewHandler | System.Guid | |
return | bool |
public Open ( string filename, System.Guid &previewGuid ) : bool | ||
filename | string | |
previewGuid | System.Guid | |
return | bool |