Get Thumbnail Image of the file searched as Image object.
Namespace: Autodesk.iLogic.Vault
Assembly: Autodesk.iLogic.Vault (in Autodesk.iLogic.Vault.dll) Version: 30.0
Syntax
VB
Public Function GetThumbnailImageBySearchCriteria ( SearchCriteria As Dictionary(Of String, String), Optional MatchAllCriteria As Boolean = true, Optional SearchFolders As String() = Nothing, Optional Width As Integer = 300, Optional Height As Integer = 300 ) As Image
C#
public Image GetThumbnailImageBySearchCriteria( Dictionary<string, string> SearchCriteria, bool MatchAllCriteria = true, string[] SearchFolders = null, int Width = 300, int Height = 300 )
Parameters
- SearchCriteria
- Type: System.Collections.Generic.Dictionary(String, String)
Dictionary of property/value pairs - MatchAllCriteria (Optional)
- Type: System.Boolean
Optional. Switches AND/OR conditions using multiple criteria. Default is true - SearchFolders (Optional)
- Type: System.String[]
Optional. Limit search scope to given folder path(s). - Width (Optional)
- Type: System.Int32
Optional. Image pixel size - Height (Optional)
- Type: System.Int32
Optional. Image pixel size.
Return Value
Type: ImageSystem.Drawing.Image object