Click or drag to resize

Common Class

Common shared functions
Inheritance Hierarchy
SystemObject
  MediaCy.Controls.Common.VbCommon

Namespace:  MediaCy.Controls.Common.Vb
Assembly:  MediaCy.Controls.Common.Vb (in MediaCy.Controls.Common.Vb.dll) Version: 3.1.0.0
Syntax
VB
Public Class Common
	Implements IDTExtensibility2

The Common type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCompositeMonoChannel
Top
Methods
  NameDescription
Public methodStatic memberCaptureWindowToBitmap
Capture control-based window to bitmap. It allows capturing OpenGL windows as well.
Public methodStatic memberColorFromHSV
Creates color from HSV.
Public methodStatic memberColorToOle
Public methodStatic memberConvertTo24Bpp
Convert bitmap to 24BPP pixel format
Public methodStatic memberCreateLabeledBitmap(Bitmap, Int32, Int32, Int32, Int32, Int32)
Public methodStatic memberCreateLabeledBitmap(Bitmap, String, Int32, Int32, Int32, Int32)
Create bitmap with text in the top-left corner.
Public methodStatic memberCreateMaskColor
Creates color for mask that is slightly different from srcColor to be distinguishable on the image. The new color has lower saturation or different brightness.
Public methodStatic memberFindItemOrControl
Find a named item or control in a hierarchy.
Public methodStatic memberFormat
Public methodStatic memberFormatTime
Returns formated string according to the selected time format in the McApplication
Public methodStatic memberGetAbsLog10
Returns log10 of absolute value, can be used to calculate the number of significant digits
Public methodStatic memberGetChannelNamesAndColors
Public methodStatic memberGetCompositeHost
Public methodStatic memberGetDocDataThumbnailKey
Public methodStatic memberGetFileName
Public methodStatic memberGetFrameRangeAsList(McImage)
Public methodStatic memberGetFrameRangeAsList(Object, Int32)
Public methodStatic memberGetImageEx
Public methodStatic memberGetImageFromView
Public methodStatic memberGetImageFromWindow(McWindow)
Public methodStatic memberGetImageFromWindow(McWindow, Boolean)
Public methodStatic memberGetImageFromWindow(McWindow, Object)
Returns McImage object associated with the window. The data is passed from McWindow.DocumentView.Document.Data
Public methodStatic memberGetImageThumbnail
Return image thumbnail, create if it doesn't exist
Public methodStatic memberGetImageThumbnailKey
Generate key for image thumbnail
Public methodStatic memberGetNextQuickFileName
Returns next available file name for QuickSaveForPublication (true) or QuickSaveForAnalysis(false)
Public methodStatic memberGetNumberOfDecimalPlaces
Calculate number of decimal places using the number of significant digits based on the given value.
Public methodStatic memberGetOverlayFromView
Returns Overlay displayed in the View, the function is used to get overlays to Tiling and ImageCompare views
Public methodStatic memberGetWindowThumbnail
Returns McWindow thumbnail as Image
Public methodStatic memberGetWindowThumbnailKey
Returns Thumbnail key for the given window.
Public methodStatic memberInRange
Public methodStatic memberIsCompositeImage
Public methodStatic memberIsInRange
Public methodStatic memberLineCoefficients
Public methodStatic memberMergeBitmaps(Bitmap, CornerBitmap)
Add predefined image to the corner
Public methodStatic memberMergeBitmaps(Bitmap, Bitmap, Int32, Int32, eCornerPos)
Merges CornerImage into Image in the right bottom corner
Public methodStatic memberPlaySound
Play predefined sound
Public methodRemoveImageFromImageList
Public methodStatic memberResizeBitmap
Resize bitmap using high quality interpolation
Public methodStatic memberRound(Double)
Round value to the simple fractions.
Public methodStatic memberRound(Double, Double, Double)
Round value to the simple fractions and verify range.
Public methodStatic memberRound(Double, Double, Double, Double)
Public methodStatic memberRoundRect
Creates a round rect shape
Public methodStatic memberStripXML
Strips XML string from input string, used to remove XML part of Description field.
Public methodStatic memberTopImage
Returns top image from WindowsActivationStack, even if the active window doesn't contain image view. The last active image will be returned.
Top
Remarks